mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 19:51:42 +09:00
Issue 2527: Allow default mid from other sites not to be displayed
Tested all cases and didn't find anything wrong with this. git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11509 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5acfe84c14
commit
cd8259f7e6
1 changed files with 5 additions and 5 deletions
|
|
@ -118,11 +118,11 @@
|
|||
}
|
||||
|
||||
// redirect, if module_site_srl and site_srl are different
|
||||
if(!$this->module && !$module_info && $site_module_info->site_srl == 0 && $site_module_info->module_site_srl > 0) {
|
||||
$site_info = $oModuleModel->getSiteInfo($site_module_info->module_site_srl);
|
||||
header("location:".getNotEncodedSiteUrl($site_info->domain,'mid',$site_module_info->mid));
|
||||
return false;
|
||||
}
|
||||
//if(!$this->module && !$module_info && $site_module_info->site_srl == 0 && $site_module_info->module_site_srl > 0) {
|
||||
// $site_info = $oModuleModel->getSiteInfo($site_module_info->module_site_srl);
|
||||
// header("location:".getNotEncodedSiteUrl($site_info->domain,'mid',$site_module_info->mid));
|
||||
// return false;
|
||||
//}
|
||||
|
||||
// If module_info is not set still, and $module does not exist, find the default module
|
||||
if(!$module_info && !$this->module && !$this->mid) $module_info = $site_module_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue