default: // Do stuff when extension is loaded
// Create instance on class
- if ($GLOBALS['cacheMode'] != "init") {
+ if ($GLOBALS['cache_mode'] != "init") {
// Initialize cache system only when it's needed
$GLOBALS['cache_instance'] = new CacheSystem(getConfig('cache_update'), "inc/".getConfig('cache_path'), getConfig('cache_tested'));
if ($GLOBALS['cache_instance']->getStatus() != "done") {