move autoload

This commit is contained in:
Fred Tempez 2023-12-24 14:30:12 +01:00
parent 2c6b29747a
commit fb79bce39c
1 changed files with 2 additions and 1 deletions

View File

@ -44,10 +44,11 @@ setlocale (LC_ALL, 'fr_FR.UTF8', 'fr_FR', 'french');
*/
require 'core/class/autoload.php';
autoload::autoloader();
spl_autoload_register('core::autoload');
/**
* Chargement du coeur
*/
$core = new core;
spl_autoload_register('core::autoload');
echo $core->router();