09-Aug-2014, 11:16 AM
Hi Jennie,
In /upload/admin/index.php, temporarily remove the following code:
In /upload/admin/index.php, temporarily remove the following code:
PHP Code:
<?php
/* Check Referrer */
if (cmtx_setting('check_referrer')) {
if (isset($_SERVER['HTTP_REFERER'])) { //if referrer available
$referrer = cmtx_url_decode($_SERVER['HTTP_REFERER']); //get referrer
$domain = cmtx_url_decode(cmtx_setting('site_domain')); //get domain
if (!stristr($referrer, $domain)) { //if referrer does not contain domain
?>
<span class='negative'>The referrer has external origin.</span>
<p />
You have arrived at this page from outside of the admin panel.
<p />
Please access this page through the menu above.
<?php
die();
}
}
}
Then go to Settings -> System and update the 'Site Domain' setting.