mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
fix installation for beta5
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
<?php
|
||||
|
||||
if (!empty($_SERVER['HTTP_X_REQUEST_ID'])) {
|
||||
define('REQUEST_ID', $_SERVER['HTTP_X_REQUEST_ID']);
|
||||
} else {
|
||||
$requestId = str_replace('.', '', LARAVEL_START);
|
||||
define('REQUEST_ID', str_pad($requestId, 14, "0", STR_PAD_RIGHT));
|
||||
}
|
||||
define('REQUEST_ID', $_SERVER['HTTP_X_REQUEST_ID'] ?? $_SERVER['REQUEST_ID'] ?? str_pad(str_replace('.', '', LARAVEL_START), 14, "0", STR_PAD_RIGHT));
|
||||
|
||||
define('IN_NEXUS', false);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user