使用.env中设定的站点标题
This commit is contained in:
parent
72cce4f32d
commit
83169ab5d5
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user