From 4eb702de93e4046a19e88a8e64a9aea5ce6855df Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 18 Jun 2013 17:21:47 +0200 Subject: [PATCH] Fix js path Remove real path --- lib/Alchemy/Phrasea/Application.php | 8 ++++---- templates/mobile/common/index.html.twig | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Alchemy/Phrasea/Application.php b/lib/Alchemy/Phrasea/Application.php index f4807391c0..25fa5da095 100644 --- a/lib/Alchemy/Phrasea/Application.php +++ b/lib/Alchemy/Phrasea/Application.php @@ -530,12 +530,12 @@ class Application extends SilexApplication $paths = array(); if ($app['browser']->isTablet() || $app['browser']->isMobile()) { - $paths[] = realpath($app['root.path'] . '/config/templates/mobile'); - $paths[] = realpath($app['root.path'] . '/templates/mobile'); + $paths[] = $app['root.path'] . '/config/templates/mobile'; + $paths[] = $app['root.path'] . '/templates/mobile'; } - $paths[] = realpath($app['root.path'] . '/config/templates/web'); - $paths[] = realpath($app['root.path'] . '/templates/web'); + $paths[] = $app['root.path'] . '/config/templates/web'; + $paths[] = $app['root.path'] . '/templates/web'; $app['twig.loader.filesystem']->setPaths($paths); diff --git a/templates/mobile/common/index.html.twig b/templates/mobile/common/index.html.twig index 3ae6985ad9..e1dd51535b 100644 --- a/templates/mobile/common/index.html.twig +++ b/templates/mobile/common/index.html.twig @@ -7,7 +7,7 @@ {{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} - + {% block stylesheet %}{% endblock %} {% block icon %}{% endblock %} {% block javascript %}{% endblock %}