Reverting some parts because wouldn't work
This commit is contained in:
+2
-1
@@ -29,7 +29,8 @@
|
||||
use Friendica\Network\HTTPException\ForbiddenException;
|
||||
|
||||
if (php_sapi_name() !== 'cli') {
|
||||
throw new ForbiddenException();
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
|
||||
exit();
|
||||
}
|
||||
|
||||
if (($_SERVER["argc"] > 1) && isset($_SERVER["argv"][1])) {
|
||||
|
||||
Reference in New Issue
Block a user