mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
mid만 있을때에만 리디렉션 되도록 변경
This commit is contained in:
parent
db61976c57
commit
8b9694fe6d
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ class ModuleHandler extends Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
// redirect, if site start module
|
// redirect, if site start module
|
||||||
if(isset($_GET['mid']) && $_GET['mid'] === $site_module_info->mid && !$this->act && !$this->module && !$this->document_srl)
|
if(isset($_GET['mid']) && $_GET['mid'] === $site_module_info->mid && count($_GET) === 1)
|
||||||
{
|
{
|
||||||
Context::setCacheControl(0);
|
Context::setCacheControl(0);
|
||||||
header('location: ' . getNotEncodedSiteUrl($site_module_info->domain), true, 301);
|
header('location: ' . getNotEncodedSiteUrl($site_module_info->domain), true, 301);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue