mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Issue 1576 redirect a fixed url, when mid of document_srl is different with mid on url
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10279 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
72ef30abc0
commit
bca448300b
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@
|
|||
if($this->mid != $module_info->mid) {
|
||||
$this->mid = $module_info->mid;
|
||||
Context::set('mid', $module_info->mid, true);
|
||||
header('location:' . getNotEncodedSiteUrl($site_info->domain, 'mid', $this->mid, 'document_srl', $this->document_srl));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// if requested module is different from one of the document, remove the module information retrieved based on the document number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue