1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:05:56 +00:00

move all $fetch globals to UrlHelper

This commit is contained in:
Andrew Dolgov
2021-02-28 10:12:57 +03:00
parent e2cbb54b2c
commit afc7142250
12 changed files with 83 additions and 107 deletions

View File

@@ -157,6 +157,6 @@
}
header("Content-Type: text/json");
print Errors::to_json(Errors::E_UNKNOWN_METHOD, ["info" => get_class($handler) . "->$method"]);
print Errors::to_json(Errors::E_UNKNOWN_METHOD, [ "info" => (isset($handler) ? get_class($handler) : "UNKNOWN:".$_REQUEST["op"]) . "->$method"]);
?>