refactored and translated 404-errorpage

This commit is contained in:
following
2013-04-25 23:43:07 +02:00
parent ed1a383ee6
commit 07712191cb
14 changed files with 439 additions and 403 deletions

View File

@ -22,11 +22,13 @@ function __autoload($class_name)
$file = $opt['rootpath'] . '../lib/classes/' . $class_name . '.php';
$file2 = $opt['rootpath'] . 'lib2/' . $class_name2 . '.class.php';
if (file_exists($file)) {
$file3 = $opt['rootpath'] . 'lib2/logic/' . $class_name2 . '.class.php';
if (file_exists($file))
require_once($file);
} elseif(file_exists($file2)) {
elseif (file_exists($file2))
require_once($file2);
}
elseif (file_exists($file3))
require_once($file3);
}