mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix js path
Remove real path
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user