]> git.wh0rd.org - tt-rss.git/blobdiff - public.php
do not use regexps in get_self_url_prefix()
[tt-rss.git] / public.php
index 675a9e352d9a6a413b60045c661695e82a9c9095..bf13fdd583040aa21f82c4226effe4458822b158 100644 (file)
                ob_start("ob_gzhandler");
        }
 
-       function __autoload($class) {
-               $file = "classes/".strtolower(basename($class)).".php";
-               if (file_exists($file)) {
-                       require $file;
-               }
-       }
-
        $method = $_REQUEST["op"];
 
-       $handler = new Public_Handler($link, $_REQUEST);
+       $handler = new Handler_Public($link, $_REQUEST);
 
        if ($handler->before($method)) {
                if ($method && method_exists($handler, $method)) {