mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Update core classes to refer to UA class for robot detection
This commit is contained in:
parent
f1441613a2
commit
37bce0343d
5 changed files with 17 additions and 93 deletions
|
|
@ -238,7 +238,7 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
|
||||
// redirect, if site_srl of module_info is different from one of site's module_info
|
||||
if($module_info && $module_info->site_srl != $site_module_info->site_srl && !isCrawler())
|
||||
if($module_info && $module_info->site_srl != $site_module_info->site_srl && !Rhymix\Framework\UA::isRobot())
|
||||
{
|
||||
// If the module is of virtual site
|
||||
if($module_info->site_srl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue