diff options
author | Andrew Dolgov <[email protected]> | 2021-02-16 17:13:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-16 17:13:16 +0300 |
commit | 9d7ba773ec97bfb44601348c07e818f1a1d2c841 (patch) | |
tree | 92c541d6bb06ac03ba358b2d0c66efc9674ef8ea /api/index.php | |
parent | 7fad6ce6518469e7d99c496a39c03a36288efd11 (diff) |
move session-related functions to their own namespace
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php index 664e92abe..eb79422f9 100644 --- a/api/index.php +++ b/api/index.php @@ -50,7 +50,7 @@ if (!init_plugins()) return; if (!empty($_SESSION["uid"])) { - if (!validate_session()) { + if (!\Sessions\validate_session()) { header("Content-Type: text/json"); print json_encode(array("seq" => -1, |