Fixed issue #98.

Apparantly a failing libraryPaths array can cause things to go really weird.

> Closes #98
This commit is contained in:
Abel Hoogeveen 2016-06-08 15:19:58 +02:00
parent 440ead5784
commit c0d9781f6f
2 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,7 @@ class Standard extends ControllerAbstract
*/
public function index($path = null)
{
$this->output->cache(60);
$this->layout->view('home');
}
}

View File

@ -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);