changed loader to search in libraries instead of packages.
This commit is contained in:
parent
8770473fd7
commit
4a5190dfd9
|
@ -33,9 +33,9 @@
|
||||||
require $path;
|
require $path;
|
||||||
}
|
}
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
// Is the class in the application/packages directory?
|
// Is the class in the application/libraries directory?
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
elseif (file_exists($path = APP_PATH.'packages/'.$file.EXT))
|
elseif (file_exists($path = APP_PATH.'libraries/'.$file.EXT))
|
||||||
{
|
{
|
||||||
require $path;
|
require $path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue