ajout dans config.php

This commit is contained in:
Didier Denoual 2024-08-28 19:15:53 +02:00
parent fa5aa6f649
commit 6bf733c191

View File

@ -251,6 +251,7 @@ updatePhpConf(){
#pour supprimer le message "obtenir un compte gratuit" dans le footer #pour supprimer le message "obtenir un compte gratuit" dans le footer
_addVarAfterInConf "simpleSignUpLink.shown" " 'simpleSignUpLink.shown' => false," "'installed' => true," "${PHPCONF}" _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 "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() { UpgradeClouds() {
@ -390,4 +391,4 @@ for COMMAND in ${COMMANDS}; do
'RUN-CLOUD-OCC' ) 'RUN-CLOUD-OCC' )
occCommand "${OCCCOMAND}";; occCommand "${OCCCOMAND}";;
esac esac
done done