mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
issue 160, Modify output message for ip checking of admin page
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9248 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ad8da09158
commit
97aea3e3eb
1 changed files with 9 additions and 1 deletions
|
|
@ -201,7 +201,15 @@
|
|||
|
||||
if($kind == 'admin' && $logged_info->is_admin == 'Y'){
|
||||
$oModuleAdminModel = &getAdminModel('module');
|
||||
if(!$oModuleAdminModel->getModuleAdminIPCheck()) return false;
|
||||
if(!$oModuleAdminModel->getModuleAdminIPCheck()) {
|
||||
$this->error = "msg_not_permitted_act";
|
||||
$oMessageObject = &ModuleHandler::getModuleInstance('message',$type);
|
||||
$oMessageObject->setError(-1);
|
||||
$oMessageObject->setMessage($this->error);
|
||||
$oMessageObject->dispMessage();
|
||||
return $oMessageObject;
|
||||
}
|
||||
|
||||
}
|
||||
unset($logged_info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue