]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
[friendica.git] / bin / daemon.php
index 880115d0d01fb8a8ff94b103c3288d115062d483..d5ef02a8ece961ce73ffb195afaeaa78d940cca6 100755 (executable)
@@ -45,7 +45,7 @@ $longopts = ['foreground'];
 $options = getopt($shortopts, $longopts);
 
 // Ensure that daemon.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) != '/') {