From 73f20a7b0946ccba51cd392142bf1147e878a3d0 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 9 Oct 2023 20:24:23 +0200 Subject: [PATCH] Update config.local.php Use only this config file, add cron and __DATA_DIR__ for folder data --- conf/config.local.php | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/conf/config.local.php b/conf/config.local.php index a71362d..25e80d0 100644 --- a/conf/config.local.php +++ b/conf/config.local.php @@ -58,19 +58,6 @@ const SECRET_KEY = '__SECRET_KEY__'; //const LOCAL_LOGIN = null; -const LOCAL_LOGIN = [ - 'user' => [ - '_name' => '__ADMIN__', - ], - 'permissions' => [ - 'users' => 9, - 'accounting' => 9, - 'web' => 9, - 'documents' => 9, - 'config' => 9, - ], -]; - /** * Autoriser (ou non) l'import de sauvegarde qui a été modifiée ? * @@ -102,7 +89,7 @@ const ROOT = '__INSTALL_DIR__'; * Défaut : sous-répertoire "data" de la racine */ -const DATA_ROOT = ROOT . '__DATA_DIR__'; +const DATA_ROOT = '__DATA_DIR__'; /** * Répertoire où est situé le cache, @@ -361,7 +348,7 @@ const ENABLE_UPGRADES = false; * Défaut : false */ -//const USE_CRON = false; +const USE_CRON = true; /** * Activation de l'envoi de fichier directement par le serveur web.