X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=084ad28979b667dacbfa8bd4600c764e27a8148f;hb=d21da2dc0aa3b40c0c0a21e1317a0a9f961b5f6c;hp=1251057b0f07525cfefdcf1f4454bd561c2172fb;hpb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index 1251057b0f..084ad28979 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -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) != '/') {