X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fdaemon.php;h=1682d366ede0ca16fd05c3ab8f0df7bd04b13a0a;hb=51a7b5c5846c320dd273f5b1005d856416dd1252;hp=2173be1862f47735146484b3009030f06a022988;hpb=dc16e6d471d1929fbc9c1c741feb51a2d2344d62;p=friendica.git diff --git a/bin/daemon.php b/bin/daemon.php index 2173be1862..1682d366ed 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -18,11 +18,13 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * + */ + +/** * Run the worker from a daemon. * * 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();