summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-02 15:16:38 +0300
committerAndrew Dolgov <[email protected]>2021-03-02 15:16:38 +0300
commit9ad4cbeecaed32e4106a7fef30bbe3d14195f78a (patch)
tree687b365d08a17cb2fb737dfc22f78197c62dde1e /api
parentd6629ed18863f797d34ebdc65815d7af21cb8332 (diff)
wip separate handlersexp-separate-handlers
Diffstat (limited to 'api')
-rw-r--r--api/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/index.php b/api/index.php
index 750a95721..3bcbc7f92 100644
--- a/api/index.php
+++ b/api/index.php
@@ -36,8 +36,8 @@
print json_encode([
"seq" => -1,
- "status" => API::STATUS_ERR,
- "content" => [ "error" => API::E_NOT_LOGGED_IN ]
+ "status" => Handler_API::STATUS_ERR,
+ "content" => [ "error" => Handler_API::E_NOT_LOGGED_IN ]
]);
return;
@@ -48,7 +48,7 @@
$method = strtolower($_REQUEST["op"] ?? "");
- $handler = new API($_REQUEST);
+ $handler = new Handler_API($_REQUEST);
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {