//} ////////// Configuration model $cache_status = CConfiguration::getModelCacheStatus(); switch ($cache_status) { case "empty": CAppUI::stepAjax("ConfigModel-shm-none", UI_MSG_OK); break; case "dirty": CAppUI::stepAjax("ConfigModel-shm-ko", UI_MSG_WARNING); break; case "ok": CAppUI::stepAjax("ConfigModel-shm-ok", UI_MSG_OK); break; } ////////// Configuration values $cache_status = CConfiguration::getValuesCacheStatus(); switch ($cache_status) { case "empty": CAppUI::stepAjax("ConfigValues-shm-none", UI_MSG_OK); break; case "dirty": CAppUI::stepAjax("ConfigValues-shm-ko", UI_MSG_WARNING); break; case "ok": CAppUI::stepAjax("ConfigValues-shm-ok", UI_MSG_OK); break; } // Smarty templates $templates = glob("tmp/templates_c/*/*"); CAppUI::stepAjax("template-cache-ok", UI_MSG_OK, count($templates)); // Module specific checkings