svg
This commit is contained in:
parent
ad60b9372c
commit
d728dfbfc6
|
@ -7,9 +7,9 @@ RUN echo "* * * * * /app/bin/console app:Cron --env=prod" >> /var/spool/cron/cro
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN rm -rf /app/public/uploads/*
|
||||||
|
|
||||||
# Installation des dépendances composer
|
# Installation des dépendances composer
|
||||||
|
|
||||||
RUN composer install --no-interaction
|
RUN composer install --no-interaction
|
||||||
|
|
||||||
RUN mkdir -p /app/public/uploads
|
RUN mkdir -p /app/public/uploads
|
||||||
|
|
|
@ -13,7 +13,7 @@ use App\Form\ConfigType as Form;
|
||||||
class ConfigController extends AbstractController
|
class ConfigController extends AbstractController
|
||||||
{
|
{
|
||||||
private $data = "config";
|
private $data = "config";
|
||||||
private $route = "app_config";
|
private $route = "app_admin_config";
|
||||||
private $render = "Config/";
|
private $render = "Config/";
|
||||||
private $entity = "App:Config";
|
private $entity = "App:Config";
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
|
|
||||||
{% block localjavascript %}
|
{% block localjavascript %}
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
{% if app.user %} window.location.href = "{{ path("app_home")}}"; {% endif %}
|
||||||
$("#username").focus();
|
$("#username").focus();
|
||||||
});
|
});
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue