// Initialize cache system only when it's needed
$GLOBALS['cache_instance'] = new CacheSystem();
+
+ // Did it work?
if ($GLOBALS['cache_instance']->getStatus() != 'done') {
// Failed to initialize cache sustem
addFatalMessage(__FUNCTION__, __LINE__, '(<font color="#0000aa">' . __LINE__ . '</font>): {--CACHE_CANNOT_INITIALIZE--}');