Use addRoutes() instead of manually creating routes in a loop
[zf2.biz/galerie.git] / configs / application.config.php
index b093106..3db882f 100644 (file)
@@ -6,8 +6,11 @@ return new Zend\Config\Config(array(
     'modules' => array(
         'Application',
     ),
-    'module_config' => array( 
-        'cache_config'  => false,
-        'cache_dir'     => realpath(__DIR__ . '/../data/cache'),
+    'module_manager_options' => array( 
+        'enable_config_cache' => false,
+        'cache_dir'           => realpath(__DIR__ . '/../data/cache'),
+        'enable_dependency_check' => false,
+        'enable_self_installation' => false,
+        'manifest_dir' => realpath(__DIR__ . '/../data'),
     ),
 ));