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. ------------------------------------------------------------------------------*/ if (! defined ( 'DIR_CORE' )) { header ( 'Location: static_pages/' ); } class ControllerCommonMaintenance extends AController { public function main() { //init controller data $this->extensions->hk_InitData($this,__FUNCTION__); //exclude control panel users if ($this->config->get('config_maintenance') && !isset($this->session->data['merchant'])) { return $this->dispatch('pages/index/maintenance'); } //init controller data $this->extensions->hk_UpdateData($this,__FUNCTION__); } }