From c83e8e3149a8c90af6abc9167d116da3b7b4cb7e Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 20 Oct 2020 18:32:25 +0200 Subject: [PATCH] Commentaires --- index.php | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 4374aae8..71c49b00 100644 --- a/index.php +++ b/index.php @@ -21,19 +21,26 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) { exit('PHP 5.6+ required.'); } -/* Set locale to French */ +/* + *Localisation + */ date_default_timezone_set('Europe/Paris'); setlocale (LC_ALL, 'fr_FR.utf8','fra'); /** * Initialisation de Zwii */ - session_start(); -// Chargement des classes + +/** + * Chargement des classes + */ require 'core/class/autoload.php'; autoload::autoloader(); -// Chargement du coeur + +/** + * Chargement du coeur + */ require 'core/core.php'; $core = new core; spl_autoload_register('core::autoload');