Fix js path

Remove real path
This commit is contained in:
Nicolas Le Goff
2013-06-18 17:21:47 +02:00
parent 05fe6d79ad
commit 4eb702de93
2 changed files with 5 additions and 5 deletions

View File

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