This commit is contained in:
afornerot 2024-10-31 14:59:51 +01:00
parent ad60b9372c
commit d728dfbfc6
3 changed files with 4 additions and 3 deletions

View File

@ -7,9 +7,9 @@ RUN echo "* * * * * /app/bin/console app:Cron --env=prod" >> /var/spool/cron/cro
WORKDIR /app
COPY . .
RUN rm -rf /app/public/uploads/*
# Installation des dépendances composer
RUN composer install --no-interaction
RUN mkdir -p /app/public/uploads

View File

@ -13,7 +13,7 @@ use App\Form\ConfigType as Form;
class ConfigController extends AbstractController
{
private $data = "config";
private $route = "app_config";
private $route = "app_admin_config";
private $render = "Config/";
private $entity = "App:Config";

View File

@ -34,6 +34,7 @@
{% block localjavascript %}
$(document).ready(function() {
{% if app.user %} window.location.href = "{{ path("app_home")}}"; {% endif %}
$("#username").focus();
});
{% endblock %}