diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-06-02 18:28:45 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-06-02 18:28:45 +0200 |
commit | 7196f9eb161121acf2b9de27b534d9fb74e35990 (patch) | |
tree | 8a56a3c82ca52af073e52cfe0fc071fd4ef2eb0f /api | |
parent | b (diff) | |
download | sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar.gz sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar.bz2 sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar.lz sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar.xz sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.tar.zst sijanec.eu-7196f9eb161121acf2b9de27b534d9fb74e35990.zip |
Diffstat (limited to '')
-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": |