<?php define('PATH_ROOT', __DIR__ . "/"); require_once 'libs/boot/init.php'; \SKS\LIB\Session::initializeIfNotExits(); // Also spl_autoload_register (Take a look at it if you like) /*function __autoload($class) { require_once PATH_LIBS . $class .".php"; }*/ // Load the Bootstrap! $bootstrap = new \SKS\LIB\Bootstrap(); // Optional Path Settings //$bootstrap->setControllerPath(); //$bootstrap->setModelPath(); //$bootstrap->setDefaultFile(); //$bootstrap->setErrorFile(); $bootstrap->init();