使用.env中设定的站点标题

This commit is contained in:
Chenx221 2024-03-30 13:43:33 +08:00
parent 72cce4f32d
commit 83169ab5d5
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -9,7 +9,7 @@ $db = require __DIR__ . '/db.php';
$config = [ $config = [
'id' => 'basic', 'id' => 'basic',
'name' =>'网盘', 'name' => $_ENV['SITE_TITLE'],
// 'language' => 'zh-CN', // 'language' => 'zh-CN',
'basePath' => dirname(__DIR__), 'basePath' => dirname(__DIR__),
'bootstrap' => ['log'], 'bootstrap' => ['log'],