mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Fix js path
Remove real path
This commit is contained in:
@@ -530,12 +530,12 @@ class Application extends SilexApplication
|
|||||||
$paths = array();
|
$paths = array();
|
||||||
|
|
||||||
if ($app['browser']->isTablet() || $app['browser']->isMobile()) {
|
if ($app['browser']->isTablet() || $app['browser']->isMobile()) {
|
||||||
$paths[] = realpath($app['root.path'] . '/config/templates/mobile');
|
$paths[] = $app['root.path'] . '/config/templates/mobile';
|
||||||
$paths[] = realpath($app['root.path'] . '/templates/mobile');
|
$paths[] = $app['root.path'] . '/templates/mobile';
|
||||||
}
|
}
|
||||||
|
|
||||||
$paths[] = realpath($app['root.path'] . '/config/templates/web');
|
$paths[] = $app['root.path'] . '/config/templates/web';
|
||||||
$paths[] = realpath($app['root.path'] . '/templates/web');
|
$paths[] = $app['root.path'] . '/templates/web';
|
||||||
|
|
||||||
$app['twig.loader.filesystem']->setPaths($paths);
|
$app['twig.loader.filesystem']->setPaths($paths);
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} </title>
|
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} </title>
|
||||||
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.css' }) }}" />
|
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.css' }) }}" />
|
||||||
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
|
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
|
||||||
<script src="{{ path('minifier', { 'f' : 'nclude/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.js' }) }}"></script>
|
<script src="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.js' }) }}"></script>
|
||||||
{% block stylesheet %}{% endblock %}
|
{% block stylesheet %}{% endblock %}
|
||||||
{% block icon %}{% endblock %}
|
{% block icon %}{% endblock %}
|
||||||
{% block javascript %}{% endblock %}
|
{% block javascript %}{% endblock %}
|
||||||
|
Reference in New Issue
Block a user