function pCache::ClearCache in Visitors 8
Same name and namespace in other branches
- 7.0 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);
}
}