function process() { $infos = getSystemInformation($this->tpl); $db =& Db::getInstance(); $oldVersion = $db->getVersion(); $db->updateTables(PHPMV_VERSION); $this->tpl->assign("a_versions", array("<b>" . $oldVersion . "</b>", "<b>" . PHPMV_VERSION . "</b>")); $this->tpl->clear_all_cache(); }
function process() { $infos = getSystemInformation($this->tpl); $this->tpl->assign("server", $infos); $error = false; foreach ($infos['dirs'] as $value) { if (!$value) { $error = true; } } $this->tpl->assign("show_next_step", !$error); $this->tpl->assign("display_information", false); }
function process() { $infos = getSystemInformation($this->tpl); $this->tpl->assign("server", $infos); $this->tpl->assign("display_information", true); }