function pCache::ClearCache in Visitors 7.0
Same name and namespace in other branches
- 8 pchart/pCache.inc \pCache::ClearCache()
File
- pchart/
pCache.inc, line 47
Class
Code
function ClearCache() {
if ($handle = opendir($this->CacheFolder)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
unlink($this->CacheFolder . $file);
}
}
closedir($handle);
}
}