<?php
/************************************************************************
- * MXChange v0.2.1 Start: 09/09/2008 *
- * =============== Last change: 09/09/2008 *
+ * Mailer v0.2.1-FINAL Start: 09/09/2008 *
+ * =================== Last change: 09/09/2008 *
* *
* -------------------------------------------------------------------- *
* File : load_cache-revision.php *
if (($GLOBALS['cache_instance']->loadCacheFile('revision'))) {
// Load revision from cache
$GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((getOutputMode() != '1')) {
+} 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());
$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]