// 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());
+ $GLOBALS['cache_instance']->addRow(getArrayFromActualVersion());
// Close the cache
$GLOBALS['cache_instance']->finalize();