1
0
Fork 0

All references to boot.php are now removed

This commit is contained in:
Michael 2022-10-19 20:38:25 +00:00
commit d3e167c77c
16 changed files with 381 additions and 423 deletions

View file

@ -40,7 +40,7 @@ $longopts = ['spawn', 'no_cron'];
$options = getopt($shortopts, $longopts);
// Ensure that worker.php is executed from the base path of the installation
if (!file_exists("boot.php") && (sizeof($_SERVER["argv"]) != 0)) {
if (!file_exists("index.php") && (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]);
if (substr($directory, 0, 1) != '/') {