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); }
function CleanDir($initdir = false, $basedir = "cache") { $basedir = BX_PERSONAL_ROOT . "/" . $basedir . "/"; return $this->_cache->clean($basedir, $initdir); }