| 123456789101112131415161718192021222324252627282930 |
- <?php
- $hostData = \common\components\httpUtil::getHostData();
- $http = $hostData['http'];
- $suffix = $hostData['suffix'];
- $miniUrl = $http . 'mini.' . $suffix;
- $imgUrl = $http . 'img.' . $suffix;
- $adminUrl = $http . 'a.' . $suffix;
- $frontUrl = $http . 'm.' . $suffix;
- $mobileUrl = $http . 'm.' . $suffix;
- $openUrl = $http . 'o.' . $suffix;
- $picUrl = $http . 'pic.' . $suffix;
- $wwwUrl = $http . 'www.' . $suffix;
- $cssUrl = $http . 'css.' . $suffix;
- $jsUrl = $http . 'js.' . $suffix;
- return [
- 'adminEmail' => 'admin@example.com',
- 'supportEmail' => 'support@example.com',
- 'user.passwordResetTokenExpire' => 3600,
- //全站统一使用的秘钥
- 'secretKey' => 'cMWjvVY5F-dqT6XKnj81qheU2wI3Sok-',
- 'imgUrl' => $imgUrl,
- 'adminUrl' => $adminUrl,
- 'frontUrl' => $frontUrl,
- 'openUrl' => $openUrl,
- 'picUrl' => $picUrl,
- 'wwwUrl' => $wwwUrl,
- 'mobileUrl' => $mobileUrl,
- 'miniUrl' => $miniUrl,
- ];
|