diff --git a/config/web.php b/config/web.php index bc6a5aa..8fa242a 100644 --- a/config/web.php +++ b/config/web.php @@ -9,7 +9,7 @@ $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic', - 'name' =>'网盘', + 'name' => $_ENV['SITE_TITLE'], // 'language' => 'zh-CN', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], @@ -84,7 +84,7 @@ if (YII_ENV_DEV) { $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', // uncomment the following to add your IP if you are not connecting from localhost. - 'allowedIPs' => ['127.0.0.1', '::1','192.168.1.*'], + 'allowedIPs' => ['127.0.0.1', '::1', '192.168.1.*'], ]; $config['bootstrap'][] = 'gii';