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

move API to classes/

This commit is contained in:
Andrew Dolgov
2011-12-13 15:40:42 +04:00
parent d043c0069e
commit de8260cb10
4 changed files with 374 additions and 367 deletions

View File

@@ -137,7 +137,7 @@
$handler = new $op($link, $_REQUEST);
if ($handler) {
if ($handler->before()) {
if ($handler->before($method)) {
if ($method && method_exists($handler, $method)) {
$handler->$method();
} else if (method_exists($handler, 'index')) {