Example #1
0
 public static function gI()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Example #2
0
 function loading()
 {
     $this->modules();
     $this->check_times();
     if (class_exists('Ddos')) {
         Ddos::gI();
     }
     $this->parse_get_url();
     $this->def_page();
     //=================
     if (!empty($_SESSION['user']) && !empty($_SESSION['user_type'])) {
         define('USER_ID', $_SESSION['user']);
         define('USER_TYPE', $_SESSION['user_type']);
     }
     //=================
     $this->check_user_dirs();
 }