diff --git a/src/ninegate-1.0/app/config/config.yml b/src/ninegate-1.0/app/config/config.yml index 617dd93b..d02ffb2c 100644 --- a/src/ninegate-1.0/app/config/config.yml +++ b/src/ninegate-1.0/app/config/config.yml @@ -18,7 +18,7 @@ monolog: main: type: rotating_file path: '%kernel.logs_dir%/%kernel.environment%.log' - level: debug + level: error max_files: 10 framework: diff --git a/src/ninegate-1.0/scripts/ninegate-cron.sh b/src/ninegate-1.0/scripts/ninegate-cron.sh index d49ef031..dbbd907f 100755 --- a/src/ninegate-1.0/scripts/ninegate-cron.sh +++ b/src/ninegate-1.0/scripts/ninegate-cron.sh @@ -1,4 +1,4 @@ #!/bin/bash cd /var/www/html/ninegate -php bin/console Cron:Exec \ No newline at end of file +php bin/console Cron:Exec --env=prod \ No newline at end of file diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/data/core-init-01.sql b/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/data/core-init-01.sql index d864c2d9..24d46840 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/data/core-init-01.sql +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Command/data/core-init-01.sql @@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES (-100, 'DRAAF', '130007107'); INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES -(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}DaOp1rZbdNu4Njbw+JpKmuufVKXN9s/5 +(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}sh/qcK9rVlrIFTJVhcolNLa3Ww0g4ZzK ', 'admin@ldapbundle.ac-arno.fr', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');