diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/php/api.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/php/api.php b/api/php/api.php index d274cee..348d73a 100644 --- a/api/php/api.php +++ b/api/php/api.php @@ -1,5 +1,7 @@ <?php - // pisal bom v PHPju, ker se mi res ne da zajebavat s Cjem + http_response_code(500); + header("Content-Type: text/plain"); + exit("Komentiranje sem ukinil.\n"); $commentsfile = "comments.yml"; switch ($_REQUEST["m"]) { case "commentreply": |