initHeader(); $this->assignGeneralPurposeVariables(); require_once _PS_MODULE_DIR_ . 'pagecache/pagecache.php'; $result = PageCache::execDynamicHooks($this); if (Tools::version_compare(_PS_VERSION_,'1.6','>')) { $this->context->smarty->assign(array( 'js_def' => PageCache::getJsDef($this), )); $result['js'] = $this->context->smarty->fetch(_PS_ALL_THEMES_DIR_.'javascript.tpl'); } $this->context->cookie->write(); header('Content-Type: text/html'); header('Cache-Control: no-cache'); header('X-Robots-Tag: noindex'); die(json_encode($result)); } /* * module: pagecache * date: 2024-03-10 16:57:05 * version: 8.8.59 */ public function isRestrictedCountry() { return $this->restrictedCountry; } /* * module: pagecache * date: 2024-03-10 16:57:05 * version: 8.8.59 */ public function geolocationManagementPublic($default_country) { $ret = $this->geolocationManagement($default_country); if (!$ret) { return $default_country; } return $ret; } }