예제 #1
0
 public static function Run()
 {
     //--
     global $configs;
     global $languages;
     //--
     if (self::$isRunning !== false) {
         http_response_code(500);
         die(SmartComponents::http_message_500_internalerror('App Boostrap is already running ...'));
     }
     //end if
     self::$isRunning = true;
     //--
     require 'modules/app/app-custom-bootstrap.inc.php';
     // custom boostrap code (this can permanently start session or connect to a DB server or ...)
     //--
 }