mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
integrate laravel framework
This commit is contained in:
+19
-5
@@ -2,12 +2,26 @@
|
||||
|
||||
return [
|
||||
|
||||
'timezone' => env('TIMEZONE', 'PRC'),
|
||||
'timezone' => nexus_env('TIMEZONE', 'PRC'),
|
||||
|
||||
'log_file' => env('LOG_FILE', '/tmp/nexus.log'),
|
||||
'log_file' => nexus_env('LOG_FILE', '/tmp/nexus.log'),
|
||||
|
||||
'log_split' => env('LOG_SPLIT', 'daily'),
|
||||
'log_split' => nexus_env('LOG_SPLIT', 'daily'),
|
||||
|
||||
'use_cron_trigger_cleanup' => env('USE_CRON_TRIGGER_CLEANUP', false),
|
||||
'use_cron_trigger_cleanup' => nexus_env('USE_CRON_TRIGGER_CLEANUP', false),
|
||||
|
||||
];
|
||||
'mysql' => [
|
||||
'host' => nexus_env('MYSQL_HOST', '127.0.0.1'),
|
||||
'port' => nexus_env('MYSQL_PORT', 3306),
|
||||
'username' => nexus_env('MYSQL_USERNAME', 'root'),
|
||||
'password' => nexus_env('MYSQL_PASSWORD', ''),
|
||||
'database' => nexus_env('MYSQL_DATABASE', 'nexusphp'),
|
||||
],
|
||||
|
||||
'redis' => [
|
||||
'host' => nexus_env('REDIS_HOST', '127.0.0.1'),
|
||||
'port' => nexus_env('REDIS_PORT', 6379),
|
||||
'database' => nexus_env('REDIS_DATABASE', 0),
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user