Beispiel #1
0
 public static function init()
 {
     self::$simpleV = new MbqValue();
     self::$oClk = new MbqClassLink();
     self::$oMbqConfig = new MbqConfig();
     self::$oMbqCm = self::$oClk->newObj('MbqCm');
     self::$oMbqAppEnv = self::$oClk->newObj('MbqAppEnv');
     self::$oMbqCookie = self::$oClk->newObj('MbqCookie');
     self::$oMbqSession = self::$oClk->newObj('MbqSession');
     self::$oMbqIo = self::$oClk->newObj('MbqIo');
 }
Beispiel #2
0
 public static function init()
 {
     self::$simpleV = new MbqValue();
     self::$oClk = new MbqClassLink();
     self::$oMbqConfig = new MbqConfig();
     self::$oMbqCm = self::$oClk->newObj('MbqCm');
     self::$oMbqAppEnv = self::$oClk->newObj('MbqAppEnv');
     self::$oMbqCookie = self::$oClk->newObj('MbqCookie');
     self::$oMbqSession = self::$oClk->newObj('MbqSession');
     self::$oMbqIo = self::$oClk->newObj('MbqIo');
     self::$Cache = new MbqCallCache();
     if (isset($_SERVER['HTTP_TAPATALKSTATISTICS']) && $_SERVER['HTTP_TAPATALKSTATISTICS'] || defined('MOBIQUO_INDEV') && MOBIQUO_INDEV) {
         self::$memstart = memory_get_usage();
         self::$timestart = microtime(true);
         $dat = getrusage();
         self::$rusagestart = $dat["ru_utime.tv_sec"] * 1000000.0 + $dat["ru_utime.tv_usec"];
     }
 }