// Ensure ZF is on the include path
set_include_path(implode(PATH_SEPARATOR, array(
+ realpath(__DIR__ . '/../library'),
realpath(__DIR__ . '/../library/ZendFramework/library'),
get_include_path(),
)));
require_once 'Zend/Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array('Zend\Loader\StandardAutoloader' => array()));
-$appConfig = include __DIR__ . '/../configs/application.config.php';
+$appConfig = new Zend\Config\Config(include __DIR__ . '/../configs/application.config.php');
$moduleLoader = new Zend\Loader\ModuleAutoloader($appConfig['module_paths']);
$moduleLoader->register();