From 6bf733c19123039c9a16bd860c410f80d8952bb0 Mon Sep 17 00:00:00 2001 From: didier Date: Wed, 28 Aug 2024 19:15:53 +0200 Subject: [PATCH] ajout dans config.php --- bin/manageCloud.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/manageCloud.sh b/bin/manageCloud.sh index 5a5a263..8ad13fb 100755 --- a/bin/manageCloud.sh +++ b/bin/manageCloud.sh @@ -251,6 +251,7 @@ updatePhpConf(){ #pour supprimer le message "obtenir un compte gratuit" dans le footer _addVarAfterInConf "simpleSignUpLink.shown" " 'simpleSignUpLink.shown' => false," "'installed' => true," "${PHPCONF}" _addVarAfterInConf "trusted_proxies" " 'trusted_proxies' => array( 0 => '10.0.0.0/8', 1 => '172.16.0.0/12', 2 => '192.168.0.0/16' )," "'installed' => true," "${PHPCONF}" + _addVarAfterInConf "maintenance_window_start" " 'maintenance_window_start' => 1," "'installed' => true," "${PHPCONF}" } UpgradeClouds() { @@ -390,4 +391,4 @@ for COMMAND in ${COMMANDS}; do 'RUN-CLOUD-OCC' ) occCommand "${OCCCOMAND}";; esac -done \ No newline at end of file +done