2009-09-06 03:20:22 +02:00
|
|
|
<?php
|
|
|
|
|
2017-12-13 17:40:48 +01:00
|
|
|
session_name('EVOADMIN_SESS');
|
|
|
|
session_start();
|
2009-09-06 03:20:22 +02:00
|
|
|
|
2018-09-25 15:56:22 +02:00
|
|
|
spl_autoload_register(function ($class) {
|
|
|
|
if (file_exists("lib/$class.php")) {
|
|
|
|
require_once("lib/$class.php");
|
|
|
|
}
|
|
|
|
$class = strtolower($class);
|
|
|
|
if (file_exists("lib/class.$class.php")) {
|
|
|
|
require_once("lib/class.$class.php");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
DefaultController::init();
|
|
|
|
FormController::init();
|
|
|
|
PageController::init();
|
|
|
|
|
2009-09-06 03:20:22 +02:00
|
|
|
?>
|