Restoring old status

This commit is contained in:
Michael 2022-05-20 22:52:44 +00:00
parent 5095ce621a
commit e4e8b8cb46

View File

@ -1,3 +1,4 @@
#!/usr/bin/env php
<?php <?php
/** /**
* @copyright Copyright (C) 2010-2022, the Friendica project * @copyright Copyright (C) 2010-2022, the Friendica project
@ -21,10 +22,9 @@
/** /**
* Run the worker from a daemon. * Run the worker from a daemon.
* #!/usr/bin/env php *
* This script was taken from http://php.net/manual/en/function.pcntl-fork.php * This script was taken from http://php.net/manual/en/function.pcntl-fork.php
*/ */
if (php_sapi_name() !== 'cli') { if (php_sapi_name() !== 'cli') {
header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden'); header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
exit(); exit();