mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#226 blacklist 방식으로 변경.
This commit is contained in:
parent
aaaa688b00
commit
66dd723401
1 changed files with 2 additions and 1 deletions
|
|
@ -464,7 +464,7 @@ class ModuleHandler extends Handler
|
|||
$module = strtolower($matches[2] . $matches[3]);
|
||||
$xml_info = $oModuleModel->getModuleActionXml($module);
|
||||
|
||||
if($xml_info->action->{$this->act} && ($kind == 'admin' || $xml_info->action->{$this->act}->standalone === 'true'))
|
||||
if($xml_info->action->{$this->act} && ((stripos($this->act, 'admin') !== FALSE) || $xml_info->action->{$this->act}->standalone != 'false'))
|
||||
{
|
||||
$forward = new stdClass();
|
||||
$forward->module = $module;
|
||||
|
|
@ -479,6 +479,7 @@ class ModuleHandler extends Handler
|
|||
$oMessageObject->setError(-1);
|
||||
$oMessageObject->setMessage($this->error);
|
||||
$oMessageObject->dispMessage();
|
||||
|
||||
return $oMessageObject;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue