diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig index 7319df7f8b..aa88ca9fcf 100644 --- a/app/Resources/views/default/index.html.twig +++ b/app/Resources/views/default/index.html.twig @@ -12,7 +12,7 @@ Your application is now ready. You can start working on it at: - {{ base_dir }}/ + {{ base_dir }}

diff --git a/src/AppBundle/Controller/DefaultController.php b/src/AppBundle/Controller/DefaultController.php index 5d4bb7e857..5216afebac 100644 --- a/src/AppBundle/Controller/DefaultController.php +++ b/src/AppBundle/Controller/DefaultController.php @@ -15,7 +15,7 @@ public function indexAction(Request $request) { // replace this example code with whatever you need return $this->render('default/index.html.twig', [ - 'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..'), + 'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..').DIRECTORY_SEPARATOR, ]); } }