aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-08-22 10:47:40 +0200
committerMario Vavti <mario@mariovavti.com>2018-08-22 10:47:40 +0200
commitcc03e1ceefa335f4585f2e587b67481e10ba5c8e (patch)
tree2e63fbf34f884cbb1c56cece0ab65b255ad1158c /include/api.php
parente4d08fc5d7ec6e882246217263109dfc9b61bc91 (diff)
parentb25192332ba3b17f1141ff643b3ce2dd4591c528 (diff)
downloadvolse-hubzilla-cc03e1ceefa335f4585f2e587b67481e10ba5c8e.tar.gz
volse-hubzilla-cc03e1ceefa335f4585f2e587b67481e10ba5c8e.tar.bz2
volse-hubzilla-cc03e1ceefa335f4585f2e587b67481e10ba5c8e.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 6a05a40a5..ed5c0d29f 100644
--- a/include/api.php
+++ b/include/api.php
@@ -127,7 +127,10 @@ require_once('include/api_zot.php');
}
}
-
+
+
+ $x = [ 'path' => App::$query_string ];
+ call_hooks('api_not_found',$x);
header('HTTP/1.1 404 Not Found');
logger('API call not implemented: ' . App::$query_string . ' - ' . print_r($_REQUEST,true));