mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
28 lines
733 B
PHP
28 lines
733 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
'timezone' => nexus_env('TIMEZONE', 'PRC'),
|
|
|
|
'log_file' => nexus_env('LOG_FILE', '/tmp/nexus.log'),
|
|
|
|
'log_split' => nexus_env('LOG_SPLIT', 'daily'),
|
|
|
|
'use_cron_trigger_cleanup' => nexus_env('USE_CRON_TRIGGER_CLEANUP', false),
|
|
|
|
'mysql' => [
|
|
'host' => nexus_env('DB_HOST', '127.0.0.1'),
|
|
'port' => nexus_env('DB_PORT', 3306),
|
|
'username' => nexus_env('DB_USERNAME', 'root'),
|
|
'password' => nexus_env('DB_PASSWORD', ''),
|
|
'database' => nexus_env('DB_DATABASE', 'nexusphp'),
|
|
],
|
|
|
|
'redis' => [
|
|
'host' => nexus_env('REDIS_HOST', '127.0.0.1'),
|
|
'port' => nexus_env('REDIS_PORT', 6379),
|
|
'database' => nexus_env('REDIS_DB', 0),
|
|
],
|
|
|
|
];
|