]> git.wh0rd.org - tt-rss.git/blobdiff - opml.php
update.php: add support for output logging
[tt-rss.git] / opml.php
index e98013009e4335693efbd7557e3c1355e28b4070..623913631e6b75e1d8f8743c1c80e6500274c064 100644 (file)
--- a/opml.php
+++ b/opml.php
@@ -1,13 +1,6 @@
 <?php
-       set_include_path(get_include_path() . PATH_SEPARATOR .
-               dirname(__FILE__) . "/include");
-
-       function __autoload($class) {
-               $file = "classes/".strtolower(basename($class)).".php";
-               if (file_exists($file)) {
-                       require $file;
-               }
-       }
+       set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
+               get_include_path());
 
        require_once "functions.php";
        require_once "sessions.php";