From: Michael <heluecht@pirati.ca> Date: Fri, 20 May 2022 22:52:44 +0000 (+0000) Subject: Restoring old status X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e4e8b8cb46827ec991d450b39f94d6153e8b6ed6;p=friendica.git Restoring old status --- diff --git a/bin/daemon.php b/bin/daemon.php index df4b7d8d04..1682d366ed 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -1,3 +1,4 @@ +#!/usr/bin/env php <?php /** * @copyright Copyright (C) 2010-2022, the Friendica project @@ -21,10 +22,9 @@ /** * Run the worker from a daemon. - * #!/usr/bin/env php + * * This script was taken from http://php.net/manual/en/function.pcntl-fork.php */ - if (php_sapi_name() !== 'cli') { header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden'); exit();