Esempio n. 1
0
 public function cleanDir($initDir = false, $baseDir = "cache")
 {
     $personalRoot = Main\Application::getPersonalRoot();
     $baseDir = $personalRoot . "/" . $baseDir . "/";
     if (static::$showCacheStat) {
         Diag\CacheTracker::add(0, "", $baseDir, $initDir, "", "C");
     }
     return $this->cacheEngine->clean($baseDir, $initDir);
 }
Esempio n. 2
0
 function CleanDir($initdir = false, $basedir = "cache")
 {
     $basedir = BX_PERSONAL_ROOT . "/" . $basedir . "/";
     return $this->_cache->clean($basedir, $initdir);
 }