Beispiel #1
0
 public static function onCreate()
 {
     /*
      * Hook page directory into the IMPHP System variable
      */
     Runtime::$SYSTEM["DIR_PAGE"] = Runtime::$SETTINGS->getString("DIR_PAGE_OVERWRITE", str_replace("\\", "/", __DIR__) . "/page");
     /*
      * Attach the special cookie collection to the Runtime cookie property
      */
     Runtime::$COOKIE = new Cookies();
     /*
      * Attach the special session collection to the Runtime session property
      */
     Runtime::$SESSION = new Session();
 }