bugfixes and typo after testing news and forum via RSS-feed

This commit is contained in:
Nils Bohrs
2012-10-02 22:48:14 +02:00
parent f6d0f92d58
commit 275582628b
3 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ function __autoload($class_name)
$class_name = str_replace('_', '/', $class_name);
$file = $opt['rootpath'] . '../lib/classes/' . $class_name . '.php';
$file2 = $opt['rootpath'] . 'lib2/class.' . $class_name2 . '.php';
$file2 = $opt['rootpath'] . 'lib2/' . $class_name2 . '.class.php';
if (file_exists($file)) {
require_once($file);
} elseif(file_exists($file2)) {