Esempio n. 1
0
 public function __construct()
 {
     $date = date("Ymd", $_SERVER['REQUEST_TIME']);
     $this->log_file = COWL_TOP . sprintf(Current::$config->get("plugins.logging.log_file"), $date);
     $this->error_file = COWL_TOP . sprintf(Current::$config->get("plugins.logging.error_file"), $date);
     // Set global accessor as Current::$log
     Current::$log = $this;
 }