mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
move is_fpm_mode() to global functions
This commit is contained in:
@@ -6,7 +6,7 @@ require_once $rootpath . 'vendor/autoload.php';
|
||||
$USERUPDATESET = array();
|
||||
$query_name=array();
|
||||
\Nexus\Nexus::boot();
|
||||
if (nexus()->isFpmMode()) {
|
||||
if (is_fpm_mode()) {
|
||||
if (!file_exists($rootpath . '.env')
|
||||
|| (getenv('RUNNING_IN_DOCKER') && !file_exists($rootpath . \Nexus\Install\Install::INSTALL_LOCK_FILE))
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user