A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / loader / load_cache-revision.php
index fc4b883dd4e6979265dfb3aaf57ee23819770889..f9e9ec11003ed9b3ed4680f3e29465ac9bf913ba 100644 (file)
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
 // Next cached table is the revision...
-if (($GLOBALS['cache_instance']->loadCacheFile("revision", true))) {
+if (($GLOBALS['cache_instance']->loadCacheFile('revision', true))) {
        // Load revision from cache
        $GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif (($GLOBALS['output_mode'] != "1") && ($GLOBALS['output_mode'] != "-1")) {
+} elseif (($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {
        // Create cache file here
-       $GLOBALS['cache_instance']->init("REVISION");
+       $GLOBALS['cache_instance']->init('revision');
 
        // add the new RevInfos in and saves it to the cache
        $GLOBALS['cache_instance']->addRow(getAkt_vers());