This commit is contained in:
Laurent Destailleur 2022-11-22 23:53:00 +01:00
parent 427a785fb3
commit 5ba80117ec
3 changed files with 4 additions and 4 deletions

View File

@ -106,8 +106,8 @@ if (!empty($conf->global->MAIN_MOTD)) {
* Show security warnings * Show security warnings
*/ */
// Security warning repertoire install existe (si utilisateur admin) // Security warning if install.lock file is missing or if conf file is writable
if ($user->admin && empty($conf->global->MAIN_REMOVE_INSTALL_WARNING)) { if (empty($conf->global->MAIN_REMOVE_INSTALL_WARNING)) {
$message = ''; $message = '';
// Check if install lock file is present // Check if install lock file is present

View File

@ -314,7 +314,7 @@ WarningConfFileMustBeReadOnly=Warning, your config file (<b>htdocs/conf/conf.php
WarningsOnXLines=Warnings on <b>%s</b> source record(s) WarningsOnXLines=Warnings on <b>%s</b> source record(s)
WarningNoDocumentModelActivated=No model, for document generation, has been activated. A model will be chosen by default until you check your module setup. WarningNoDocumentModelActivated=No model, for document generation, has been activated. A model will be chosen by default until you check your module setup.
WarningLockFileDoesNotExists=Warning, once setup is finished, you must disable the installation/migration tools by adding a file <b>install.lock</b> into directory <b>%s</b>. Omitting the creation of this file is a grave security risk. WarningLockFileDoesNotExists=Warning, once setup is finished, you must disable the installation/migration tools by adding a file <b>install.lock</b> into directory <b>%s</b>. Omitting the creation of this file is a grave security risk.
WarningUntilDirRemoved=All security warnings (visible by admin users only) will remain active as long as the vulnerability is present (or that constant MAIN_REMOVE_INSTALL_WARNING is added in Setup->Other Setup). WarningUntilDirRemoved=This security warning will remain active as long as the vulnerability is present.
WarningCloseAlways=Warning, closing is done even if amount differs between source and target elements. Enable this feature with caution. WarningCloseAlways=Warning, closing is done even if amount differs between source and target elements. Enable this feature with caution.
WarningUsingThisBoxSlowDown=Warning, using this box slow down seriously all pages showing the box. WarningUsingThisBoxSlowDown=Warning, using this box slow down seriously all pages showing the box.
WarningClickToDialUserSetupNotComplete=Setup of ClickToDial information for your user are not complete (see tab ClickToDial onto your user card). WarningClickToDialUserSetupNotComplete=Setup of ClickToDial information for your user are not complete (see tab ClickToDial onto your user card).