mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 00:01:33 +00:00
fix __autoload to work with mobile/
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
define('SCHEMA_VERSION', 94);
|
||||
|
||||
function __autoload($class) {
|
||||
$file = "classes/".strtolower(basename($class)).".php";
|
||||
$file = dirname(__FILE__)."/../classes/".strtolower(basename($class)).".php";
|
||||
if (file_exists($file)) {
|
||||
require $file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user