summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-06-02 18:28:45 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2022-06-02 18:28:45 +0200
commit7196f9eb161121acf2b9de27b534d9fb74e35990 (patch)
tree8a56a3c82ca52af073e52cfe0fc071fd4ef2eb0f /api
parentb (diff)
downloadsijanec.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 'api')
-rw-r--r--api/php/api.php4
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":