Skip to content
Snippets Groups Projects
Commit e19af2e5 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Sec: If conf.php file is write protected, then all first install process is locked.

parent a690a6a5
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ dolibarr_install_syslog("etape0: Entering etape0.php page"); ...@@ -60,7 +60,7 @@ dolibarr_install_syslog("etape0: Entering etape0.php page");
pHeader($langs->trans("ConfigurationFile"),"etape1"); pHeader($langs->trans("ConfigurationFile"),"etape1");
// Test if we can run a first install process // Test if we can run a first install process
if (is_writable($conffile)) if (! is_writable($conffile))
{ {
print $langs->trans("ConfFileIsNotWritable",'htdocs/conf/conf.php'); print $langs->trans("ConfFileIsNotWritable",'htdocs/conf/conf.php');
pFooter(1,$setuplang,'jscheckparam'); pFooter(1,$setuplang,'jscheckparam');
......
...@@ -94,7 +94,7 @@ DirectoryRecommendation=It is recommanded to use a directory outside of your dir ...@@ -94,7 +94,7 @@ DirectoryRecommendation=It is recommanded to use a directory outside of your dir
LoginAlreadyExists=Already exists LoginAlreadyExists=Already exists
DolibarrAdminLogin=Dolibarr admin login DolibarrAdminLogin=Dolibarr admin login
AdminLoginAlreadyExists=Dolibarr administrator account '<b>%s</b>' already exists. AdminLoginAlreadyExists=Dolibarr administrator account '<b>%s</b>' already exists.
WarningRemoveInstallDir=Warning, for security reasons, once the install or upgrade is complete, you should remove the <b>install<b> directory or rename it to <b>install.lock</b> in order to avoid its malicious use. WarningRemoveInstallDir=Warning, for security reasons, once the install or upgrade is complete, you should remove the <b>install<b> directory or add a file called <b>install.lock</b> into Dolibarr root directory, in order to avoid malicious use of it.
ThisPHPDoesNotSupportTypeBase=This PHP system does not support any interface to access database type %s ThisPHPDoesNotSupportTypeBase=This PHP system does not support any interface to access database type %s
FunctionNotAvailableInThisPHP=Not available on this PHP FunctionNotAvailableInThisPHP=Not available on this PHP
MigrateScript=Migration script MigrateScript=Migration script
......
...@@ -95,7 +95,7 @@ LoginAlreadyExists=Existe déjà ...@@ -95,7 +95,7 @@ LoginAlreadyExists=Existe déjà
DolibarrAdminLogin=Login de l'utilisateur administrateur de Dolibarr DolibarrAdminLogin=Login de l'utilisateur administrateur de Dolibarr
FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr. FailedToCreateAdminLogin=Echec de la création du compte administrateur Dolibarr.
AdminLoginAlreadyExists=Compte administrateur Dolibarr '<b>%s</b>' déjà existant. AdminLoginAlreadyExists=Compte administrateur Dolibarr '<b>%s</b>' déjà existant.
WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminée, il est conseillé de supprimer manuellement le répertoire <b>install</b>, ou d'y placer un fichier nommé <b>install.lock</b> en lecture seule. WarningRemoveInstallDir=Attention, pour des raisons de sécurité, une fois l'installation terminée, il est conseillé de supprimer manuellement le répertoire <b>install</b>, ou de placer dans le répertoire racine de Dolibarr un fichier nommé <b>install.lock</b> en lecture seule.
ThisPHPDoesNotSupportTypeBase=Le système PHP ne supporte pas les interfaces d'accès pour les bases %s ThisPHPDoesNotSupportTypeBase=Le système PHP ne supporte pas les interfaces d'accès pour les bases %s
FunctionNotAvailableInThisPHP=Non disponible sur ce PHP FunctionNotAvailableInThisPHP=Non disponible sur ce PHP
MigrateScript=Script de migration MigrateScript=Script de migration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment