X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=public%2Findex.php;h=49cb018c3ac40b606b0ef9ae18db768f4608c177;hb=5cf2f2cb85b2fbb82cab5eb9ab34acdbb55238e5;hp=5408a8c013cd32137991f9d7efd83428c4006b94;hpb=8692c2b6696f98d699398035d748d882be07cc5f;p=zf2.biz%2Fgalerie.git diff --git a/public/index.php b/public/index.php index 5408a8c..49cb018 100644 --- a/public/index.php +++ b/public/index.php @@ -1,24 +1,12 @@ setService('ApplicationConfiguration', $configuration); -$serviceManager->get('ModuleManager')->loadModules(); +// Setup autoloading +require 'init_autoloader.php'; -// Run application -$serviceManager->get('Application')->bootstrap()->run()->send(); +// Run the application! +Zend\Mvc\Application::init(require 'config/application.config.php')->run();