예제 #1
0
파일: cache.php 프로젝트: qzsolt/framework
 public function __construct($a = array())
 {
     $this->dir = isset($a['dir']) ? APP_PATH . DS . 'cache' . DS . $a['dir'] : APP_PATH . DS . 'cache';
     $this->lang = isset($a['lang']) ? $a['lang'] : Language::getCurrentLang();
     $this->time = isset($a['time']) ? $a['time'] : -1;
 }