shish před 6 roky
rodič
revize
5cb49391ea
2 změnil soubory, kde provedl 4 přidání a 5 odebrání
  1. 3 0
      common/config/main.php
  2. 1 5
      common/config/params.php

+ 3 - 0
common/config/main.php

@@ -2,6 +2,9 @@
 return [
 	'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
 	'components' => [
+		'request' => [
+			'cookieValidationKey' => '3i18DOM7ZDqqQfr2S0hj0c60wFxxTb3J',
+		],
 		'cache' => [
 			'class' => 'yii\caching\FileCache',
 		],

+ 1 - 5
common/config/params.php

@@ -12,13 +12,9 @@ $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-',
+	'secretKey' => 'CzWjvVY5F.dUqT65Knj81qh_eU2wI3SokO',
 	'imgUrl' => $imgUrl,
 	'adminUrl' => $adminUrl,
 	'frontUrl' => $frontUrl,