Amlioration gestion erreur
This commit is contained in:
parent
59ec5e72d3
commit
dc46fdeafc
@ -162,7 +162,7 @@ if ($what == 'mysql')
|
||||
dol_delete_file($outputerror);
|
||||
@rename($outputfile,$outputerror);
|
||||
// Si safe_mode on et command hors du parametre exec, on a un fichier out donc errormsg vide
|
||||
if (! $errormsg) $errormsg=$langs->trans("ErrorFailedToRunCommand");
|
||||
if (! $errormsg) $errormsg=$langs->trans("ErrorFailedToRunExternalCommand");
|
||||
}
|
||||
// Fin execution commande
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ ErrorCantReadDir=Failed to read directory '%s'
|
||||
ErrorFailedToFindEntity=Failed to read entity '%s'
|
||||
ErrorBadLoginPassword=Bad value for login or password
|
||||
ErrorLoginDisabled=Your account has been disabled
|
||||
ErrorFailedToRunExternalCommand=Failed to run external command. Check it is available and runnable by your PHP server. If PHP <b>Safe Mode</b> is enabled, check that command is inside a directory defined by parameter <b>safe_mode_exec_dir</b>.
|
||||
Calendar=Calendar
|
||||
AddTrip=Add trip
|
||||
Tools=Tools
|
||||
|
||||
@ -10,6 +10,7 @@ ErrorCantReadDir=Echec de lecture du r
|
||||
ErrorFailedToFindEntity=Echec de lecture de l'entité '%s'
|
||||
ErrorBadLoginPassword=Identifiants login ou mot de passe incorrects
|
||||
ErrorLoginDisabled=Votre compte est désactivé
|
||||
ErrorFailedToRunExternalCommand=Echec de l'exécution de la commande externe. Vérifiez qu'elle est disponible et exécutable par votre serveur PHP. Si le <b>Safe Mode</b> PHP est actif, vérifiez que la commande se trouve dans un répertoire définie dans le paramètre <b>safe_mode_exec_dir</b>.
|
||||
Calendar=Calendrier
|
||||
AddTrip=Créer déplacement
|
||||
Tools=Outils
|
||||
|
||||
Loading…
Reference in New Issue
Block a user