Reverting some parts because wouldn't work
This commit is contained in:
parent
4236a9a105
commit
ec5bd9a756
6 changed files with 10 additions and 6 deletions
|
@ -26,7 +26,8 @@
|
|||
use Friendica\Network\HTTPException\ForbiddenException;
|
||||
|
||||
if (php_sapi_name() !== 'cli') {
|
||||
throw new ForbiddenException();
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
|
||||
exit();
|
||||
}
|
||||
|
||||
use Dice\Dice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue