mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 05:00:49 +08:00
add backup and admin dist
This commit is contained in:
@@ -290,7 +290,7 @@ function readEnvFile($envFile)
|
||||
{
|
||||
if (!file_exists($envFile)) {
|
||||
if (php_sapi_name() == 'cli') {
|
||||
return [];
|
||||
return [];
|
||||
}
|
||||
throw new \RuntimeException("env file : $envFile is not exists in the root path.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user