UPGRADE NOTE: Do not edit or add to this file if you wish to upgrade AbanteCart to newer versions in the future. If you wish to customize AbanteCart for your needs please refer to http://www.AbanteCart.com for more information. ------------------------------------------------------------------------------*/ class ControllerPagesFinish extends AController { public function main() { if (!defined('DB_HOSTNAME')) { header('Location: index.php?rt=license'); exit; } $this->session->data['finish'] = 'true'; unset($this->session->data ['ant_messages']); // prevent reinstall bugs with ant $this->view->assign('admin_path', 'index.php?s=' . ADMIN_PATH); setcookie("new_cart", 1, 0, '/', $this->request->server['HTTP_HOST']); $message = "Keep your ecommmerce secure!
Delete directory " . DIR_ABANTECART . "/install from your AbanteCart installation!"; $this->view->assign('message', $message); $this->view->assign('salt', SALT); $this->addChild('common/header', 'header', 'common/header.tpl'); $this->addChild('common/footer', 'footer', 'common/footer.tpl'); $this->processTemplate('pages/finish.tpl'); } }