forked from ZwiiCMS-Team/ZwiiCMS
29 lines
632 B
PHP
29 lines
632 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* This file is part of Zwii.
|
||
|
*
|
||
|
* For full copyright and license information, please see the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*
|
||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||
|
* @license GNU General Public License, version 3
|
||
|
* @link http://zwiicms.com/
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Vérification de la version de PHP
|
||
|
*/
|
||
|
if(version_compare(PHP_VERSION, '5.6.0', '<')) {
|
||
|
exit('PHP 5.6+ required.');
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Initialisation de Zwii
|
||
|
*/
|
||
|
session_start();
|
||
|
require 'core/core.php';
|
||
|
$core = new core;
|
||
|
spl_autoload_register('core::autoload');
|
||
|
echo $core->router();
|