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 @@