Beispiel #1
0
 function __construct($Log = false)
 {
     parent::__construct();
     if ($Log and get::config("Log") == "on") {
         $this->insert($Log);
     }
 }
Beispiel #2
0
 function __construct($timer, $controller)
 {
     parent::__construct();
     if ($controller) {
         if (is_array($this->url)) {
             $this->getUrl = $controller . implode("/", $this->url);
         } else {
             $this->getUrl = $controller;
         }
     } else {
         $this->getUrl = implode("/", $this->url);
     }
     $this->runCache = true;
     $this->timer = $timer;
     $this->fileName = APPLICATION_PATH . "Cache/MSCacheFiles/" . md5($this->getUrl) . ".php";
 }
Beispiel #3
0
 function __construct()
 {
     parent::__construct();
     $this->startDrivers();
     spl_autoload_register('MS\\MSLoad::autoloadApp', true, true);
 }