core error source class fix

This commit is contained in:
Steffen Schröder
2014-05-24 14:05:33 +02:00
parent 3e98adb4d6
commit cb29330a50
2 changed files with 1 additions and 2 deletions

View File

@ -305,7 +305,7 @@ class ErrorHandler {
}
$filePath = substr($errorFile, strlen(ManiaControlDir));
$filePath = str_replace('plugins' . DIRECTORY_SEPARATOR, '', $filePath);
$filePath = str_replace('core' . DIRECTORY_SEPARATOR, '', $filePath);
$filePath = str_replace('core' . DIRECTORY_SEPARATOR, 'ManiaControl\\', $filePath);
$className = str_replace('.php', '', $filePath);
$className = str_replace(DIRECTORY_SEPARATOR, '\\', $className);
if (!class_exists($className, false)) {