forked from ZwiiCMS-Team/ZwiiCMS
Merge branch 'master' into data_engine
This commit is contained in:
commit
a741f0ddcd
15
index.php
15
index.php
@ -21,19 +21,26 @@ if(version_compare(PHP_VERSION, '5.6.0', '<')) {
|
|||||||
exit('PHP 5.6+ required.');
|
exit('PHP 5.6+ required.');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Localisation */
|
/*
|
||||||
|
*Localisation
|
||||||
|
*/
|
||||||
date_default_timezone_set('Europe/Paris');
|
date_default_timezone_set('Europe/Paris');
|
||||||
setlocale (LC_ALL, 'fr_FR.utf8','fra');
|
setlocale (LC_ALL, 'fr_FR.utf8','fra');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialisation de Zwii
|
* Initialisation de Zwii
|
||||||
*/
|
*/
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
// Chargement des classes
|
|
||||||
|
/**
|
||||||
|
* Chargement des classes
|
||||||
|
*/
|
||||||
require 'core/class/autoload.php';
|
require 'core/class/autoload.php';
|
||||||
autoload::autoloader();
|
autoload::autoloader();
|
||||||
// Chargement du coeur
|
|
||||||
|
/**
|
||||||
|
* Chargement du coeur
|
||||||
|
*/
|
||||||
require 'core/core.php';
|
require 'core/core.php';
|
||||||
$core = new core;
|
$core = new core;
|
||||||
spl_autoload_register('core::autoload');
|
spl_autoload_register('core::autoload');
|
||||||
|
Loading…
Reference in New Issue
Block a user