X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload_cache-revision.php;h=4f175ba60bccac3579cd7ad601643b95abf94e91;hp=b79c66743ee4c1ae8e4f4459e94936ce3a96fd5f;hb=d92d8b4ddd219b65df8e0bba5e4354c0bbfba5c9;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e diff --git a/inc/loader/load_cache-revision.php b/inc/loader/load_cache-revision.php index b79c66743e..4f175ba60b 100644 --- a/inc/loader/load_cache-revision.php +++ b/inc/loader/load_cache-revision.php @@ -47,7 +47,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('revision'))) { $GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache(); } elseif ((getOutputMode() != '1')) { // Create cache file here - $GLOBALS['cache_instance']->init('revision'); + $GLOBALS['cache_instance']->init(); // add the new RevInfos in and saves it to the cache $GLOBALS['cache_instance']->addRow(getArrayFromActualVersion()); @@ -56,16 +56,13 @@ if (($GLOBALS['cache_instance']->loadCacheFile('revision'))) { $GLOBALS['cache_instance']->finalize(); // Generate FQFN for old revision file - $FQFN = sprintf("%s%s/.revision", getConfig('PATH'), getConfig('CACHE_PATH')); + $FQFN = sprintf("%s/.revision", getConfig('CACHE_PATH')); // Is it there? if (isFileReadable($FQFN)) { // Then remove it removeFile($FQFN); } // END - if - - // Include loader again - loadInclude('inc/loader/'.basename(__FILE__)); } // [EOF]