예제 #1
0
파일: cache.php 프로젝트: ASDAFF/entask.ru
 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);
 }
예제 #2
0
파일: cache.php 프로젝트: ASDAFF/bitrix-5
 function CleanDir($initdir = false, $basedir = "cache")
 {
     $basedir = BX_PERSONAL_ROOT . "/" . $basedir . "/";
     return $this->_cache->clean($basedir, $initdir);
 }