URL: <http://gna.org/bugs/?func=detailitem&item_id=5504> Summary: Problème de traduction lorsque que Safe_mode est à ON Project: Galette Submitted by: chtitux Submitted on: mercredi 15.03.2006 à 16:59 Priority: 5 - Normal Severity: 3 - Normal Status: In Progress Assigned to: chtitux Originator Email: Open/Closed: Open _______________________________________________________ Details: Lorsque l'option Safe_mode de php està On, le fait de tester si la fonction putenv() existe ne suffit pas : Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in ///galette/includes/i18n.inc.php on line 45 Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LANGUAGE' - it's not in the allowed list in ///galette/includes/i18n.inc.php on line 46 Warning: putenv(): Safe Mode warning: Cannot set environment variable 'LC_ALL' - it's not in the allowed list in ///galette/includes/i18n.inc.php on line 47 Il faudrait plutot executer les appels à la fonction putenv() en mode "sans echecs" avec @putenv() et verifier si la commande est bien faite. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?func=detailitem&item_id=5504> _______________________________________________ Message posté via/par Gna! http://gna.org/