示例#1
0
 /** Constructor */
 public function __construct($cacheDir = null)
 {
     if (!isset($cacheDir)) {
         $cacheDir = VARROOT . "/cache";
     }
     parent::__construct($cacheDir);
 }
示例#2
0
 public function __construct($cacheDir = null)
 {
     if (!isset($cacheDir)) {
         $rootFolder = dirname(dirname(dirname(__DIR__)));
         $cacheDir = $rootFolder . "/var/cache";
     }
     parent::__construct($cacheDir);
 }