touch($fqfn, 'w');
// Is the file there?
- if (FILE_READABLE($fqfn)) {
+ if (isFileReadable($fqfn)) {
// Yes, we can do. So let's remove it
unlink($fqfn);
// Is there a .htaccess file?
- if (FILE_READABLE($path . '.htaccess')) {
+ if (isFileReadable($path . '.htaccess')) {
// Update database that we have tested it
- UPDATE_CONFIG('cache_tested', 1);
+ updateConfiguration('cache_tested', 1);
// All done!
$this->ret = $this->statusDone;
// Remember cache file
$this->name = $cacheName;
- // Construct include filename for LOAD_INC_ONCE() call
+ // Construct include filename for loadIncludeOnce() call
$this->inc = $this->path . $cacheName . $this->extension;
// Construct FQFN (full qualified file name)
// Checks wether the current cache file is readable
function isCacheReadable () {
- return INCLUDE_READABLE($this->inc);
+ return isIncludeReadable($this->inc);
}
} // END - class
// Filter for purging entire admin menu cache
function FILTER_CACHE_PURGE_ADMIN_MENU () {
// Just call the function
- CACHE_PURGE_ADMIN_MENU();
+ cachePurgeAdminMenu();
}
//