core error source class fix
This commit is contained in:
		| @@ -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 | ||||
| 	} | ||||
|  | ||||
| 	/** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user