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

move some more functions out of functions.php; fix opml.php failing due to redeclared autoload

This commit is contained in:
Andrew Dolgov
2013-01-22 22:36:16 +04:00
parent 87d7e8507a
commit 5083271956
8 changed files with 101 additions and 106 deletions

View File

@@ -2,13 +2,6 @@
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
get_include_path());
function __autoload($class) {
$file = "classes/".strtolower(basename($class)).".php";
if (file_exists($file)) {
require $file;
}
}
require_once "functions.php";
require_once "sessions.php";
require_once "sanity_check.php";