Reverting some parts because wouldn't work

This commit is contained in:
Michael
2021-10-30 09:13:06 +00:00
parent 4236a9a105
commit ec5bd9a756
6 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -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])) {