mirror of
https://github.com/friendica/friendica
synced 2024-12-22 12:40:15 +00:00
Restoring old status
This commit is contained in:
parent
5095ce621a
commit
e4e8b8cb46
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue