Added admin module

This commit is contained in:
absurdo 2023-07-03 01:11:10 +02:00
parent 22b90ea1f6
commit fd88fff9d2
90 changed files with 13954 additions and 19 deletions

View file

@ -5,6 +5,22 @@ use PhangoApp\PhaUtils\Utils;
include('libraries/Utils.php');
include('libraries/Routes.php');
spl_autoload_register(function ($class_name) {
//include($nombre_clase . '.php';
//echo $class_name;
switch($class_name) {
case 'PhangoApp\PDO\MySQL':
include('./libraries/PDO.php');
break;
}
});
if(is_file('vendor/autoload.php')) {
include('vendor/autoload.php');