core error source class fix
This commit is contained in:
parent
3e98adb4d6
commit
cb29330a50
@ -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)) {
|
||||
|
@ -37,7 +37,6 @@ class EndurancePlugin implements CallbackListener, Plugin {
|
||||
* @see \ManiaControl\Plugins\Plugin::prepare()
|
||||
*/
|
||||
public static function prepare(ManiaControl $maniaControl) {
|
||||
//do nothing
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user