getKey('limit', 'purge')); self::setPath($conf->getKey('dir', 'purge')); } /** * check if the purge can be performed * * @access public * @static * @throws Exception * @return bool */ public static function canPurge() { // disable limits if set to less then 1 if (self::$_limit < 1) { return true; } $file = 'purge_limiter.php'; $now = time(); $content = '= $now) { $result = false; } else { $result = true; self::_store($file, $content); } return $result; } }