diff --git a/index.php b/index.php index 89037a8e..0aef1059 100644 --- a/index.php +++ b/index.php @@ -14,6 +14,11 @@ * @link http://zwiicms.fr/ */ + /** + * Initialisation de Zwii + */ +session_start(); + /** * Vérification de la version de PHP */ @@ -23,14 +28,15 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) { /* *Localisation - */ -date_default_timezone_set('Europe/Paris'); -setlocale (LC_ALL, 'fr_FR.utf8','fr_Fr'); -/** - * Initialisation de Zwii - */ -session_start(); + * Locales : + * french : free.fr + * fr_FR : XAMPP Macos + * fr_FR.utf8 : la majorité +*/ +date_default_timezone_set('Europe/Paris'); +setlocale (LC_ALL,'french','fr_Fr','fr_FR.utf8'); + /** * Chargement des classes