mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
NOISSUE PHP 5.4 이상 호환성 개선.
This commit is contained in:
parent
742af78932
commit
41ff8ace3b
32 changed files with 365 additions and 113 deletions
|
|
@ -1556,11 +1556,13 @@ class menuAdminController extends menu
|
|||
$xml_info = $oModuleModel->getModuleActionXML($moduleInfo->module);
|
||||
|
||||
$grantList = $xml_info->grant;
|
||||
if(!$grantList) $grantList = new stdClass;
|
||||
$grantList->access = new stdClass();
|
||||
$grantList->access->default = 'guest';
|
||||
$grantList->manager = new stdClass();
|
||||
$grantList->manager->default = 'manager';
|
||||
|
||||
$grant = new stdClass;
|
||||
foreach($grantList AS $grantName=>$grantInfo)
|
||||
{
|
||||
if(!$htPerm[$grantName])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue