X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2FModule.php;h=0b428d0eedc51fb54722fc380b897216978023ef;hb=20820c4aa92f9272b7c61aa578b331e7b10a829f;hp=2f20670efaf1060ed4801e64183dcf965ec115b2;hpb=fd9fa76220199fa804876223968dc473bd360179;p=zf2.biz%2Fgalerie.git
diff --git a/module/Application/Module.php b/module/Application/Module.php
index 2f20670..0b428d0 100644
--- a/module/Application/Module.php
+++ b/module/Application/Module.php
@@ -72,17 +72,19 @@ class Module implements AutoloaderProvider
$url = $view->plugin('url');
$url->setRouter($app->getRouter());
+ $view->plugin('doctype')->setDoctype('HTML5');
+
$view->plugin('headTitle')->setSeparator(' - ')
->setAutoEscape(false)
->append('ZF2 Skeleton Application');
- $basePath = $app->getRequest()->detectBaseUrl();
+ $basePath = $app->getRequest()->getBaseUrl();
- $view->plugin('headLink')->appendStylesheet($basePath . 'css/bootstrap.min.css');
+ $view->plugin('headLink')->appendStylesheet($basePath . '/css/bootstrap.min.css');
- $html5js = '';
+ $html5js = '';
$view->plugin('placeHolder')->__invoke('html5js')->set($html5js);
- $favicon = '';
+ $favicon = '';
$view->plugin('placeHolder')->__invoke('favicon')->set($favicon);
$this->view = $view;