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
|
||||
COPY . .
|
||||
RUN rm -rf /app/public/uploads/*
|
||||
|
||||
# Installation des dépendances composer
|
||||
|
||||
RUN composer install --no-interaction
|
||||
|
||||
RUN mkdir -p /app/public/uploads
|
||||
|
@ -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";
|
||||
|
||||
@ -110,7 +110,7 @@ class ConfigController extends AbstractController
|
||||
$data=$em->getRepository($this->entity)->findOneBy(["id"=>$id,"user"=>$this->getUser()]);
|
||||
|
||||
// Création du formulaire
|
||||
$form = $this->createForm(Form::class,$data,array("mode "=>"update","id"=>$data->getId(),"type"=>$data->getType(),"required"=>$data->getRequired()));
|
||||
$form = $this->createForm(Form::class,$data,array("mode"=>"update","id"=>$data->getId(),"type"=>$data->getType(),"required"=>$data->getRequired()));
|
||||
|
||||
// Récupération des data du formulaire
|
||||
$form->handleRequest($request);
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
{% block localjavascript %}
|
||||
$(document).ready(function() {
|
||||
{% if app.user %} window.location.href = "{{ path("app_home")}}"; {% endif %}
|
||||
$("#username").focus();
|
||||
});
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user