FIXES on Bootstrap and Path classes
1. On bootstrap class, was added static declaration for registerClass() method
2. On Patch class was removed at top the loadClass('system') call, because this make a redeclaration error, in PHP ver 5.3.2x
and it was moved into function that use that, now it is just loaded conditionally.
This commit is contained in:
@@ -30,7 +30,7 @@ class Bootstrap
|
||||
return;
|
||||
}
|
||||
|
||||
public function registerClass($classname, $includeFile)
|
||||
public static function registerClass($classname, $includeFile)
|
||||
{
|
||||
BootStrap::$includeClassPaths[strtolower($classname)] = $includeFile;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user