Fixed issue #98.
Apparantly a failing libraryPaths array can cause things to go really weird. > Closes #98
This commit is contained in:
parent
440ead5784
commit
c0d9781f6f
|
@ -54,6 +54,7 @@ class Standard extends ControllerAbstract
|
|||
*/
|
||||
public function index($path = null)
|
||||
{
|
||||
$this->output->cache(60);
|
||||
$this->layout->view('home');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace FuzeWorks\Library;
|
|||
use FuzeWorks\Config;
|
||||
use FuzeWorks\Logger;
|
||||
use FuzeWorks\LibraryException;
|
||||
use FuzeWorks\Libraries;
|
||||
use FuzeWorks\Factory;
|
||||
use ReflectionObject;
|
||||
|
||||
/**
|
||||
|
@ -117,7 +117,7 @@ class FW_Driver_Library {
|
|||
}
|
||||
|
||||
// Get package paths and filename case variations to search
|
||||
$paths = Libraries::getLibraryPaths();
|
||||
$paths = Factory::getInstance()->libraries->getLibraryPaths();
|
||||
|
||||
// Is there an extension?
|
||||
$class_name = str_replace('{prefix}', $prefix, $child_name);
|
||||
|
|
Loading…
Reference in New Issue