mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
issue 3645, php5 대응, 함수 대체
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13202 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5fa0bf23d7
commit
5693e340fe
28 changed files with 95 additions and 125 deletions
|
|
@ -89,7 +89,7 @@ class menu extends ModuleObject
|
|||
}
|
||||
|
||||
// if url is empty, change type to shortcurt
|
||||
if($value2->is_shortcut == 'N' && (!$value2->url || preg_match('/^http/i',$value2->url)))
|
||||
if($value2->is_shortcut == 'N' && (!$value2->url || strncasecmp('http', $value2->url, 4) === 0))
|
||||
{
|
||||
$value2->is_shortcut = 'Y';
|
||||
$output3 = executeQuery('menu.updateMenuItem', $value2);
|
||||
|
|
@ -110,7 +110,7 @@ class menu extends ModuleObject
|
|||
{
|
||||
foreach($output2->data AS $key2=>$value2)
|
||||
{
|
||||
if(!empty($value2->url) && !preg_match('/^http/i',$value2->url))
|
||||
if(!empty($value2->url) && strncasecmp('http', $value2->url, 4) !== 0)
|
||||
{
|
||||
$moduleInfo = $oModuleModel->getModuleInfoByMid($value2->url);
|
||||
if(!$moduleInfo->module_srl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue