Example #1
0
 public static function load()
 {
     // app is available
     static::available();
     // load the app configs
     Config::init();
     // initializing encryption
     Encryption::init();
     // initializing the request infos
     Request::init();
     // initializing sessions
     Session::init();
     Session::start();
     // handling the routes and response
     echo Route::response();
 }