]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
Merge pull request #12103 from MrPetovan/task/4090-move-mod-suggest
[friendica.git] / bin / daemon.php
index ef5886c0bfb5d7167839fba3f4d33660e63cd5f3..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) != '/') {
@@ -76,8 +76,8 @@ DI::config()->load();
 if (empty(DI::config()->get('system', 'pidfile'))) {
        die(<<<TXT
 Please set system.pidfile in config/local.config.php. For example:
-
-    'system' => [
+    
+    'system' => [ 
         'pidfile' => '/path/to/daemon.pid',
     ],
 TXT