mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix get PHP_PATH from env
This commit is contained in:
@@ -42,7 +42,7 @@ if ($isTypeTmpInvite && (empty($_POST['duration']) || $_POST['duration'] < 1)) {
|
||||
stderr("Error","Invalid duration");
|
||||
}
|
||||
$whereStr = implode(' OR ', $conditions);
|
||||
$phpPath = nexus_env('PHP_PATH', 'php');
|
||||
$phpPath = nexus_env('PHP_PATH') ?: 'php';
|
||||
$webRoot = rtrim(ROOT_PATH, '/');
|
||||
while (true) {
|
||||
$msgValues = $idArr = [];
|
||||
|
||||
Reference in New Issue
Block a user