mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
설명에 ' 입력시 오류 생기는 문제 해결
이미 문제가 생긴 경우 캐시파일 재생성으로 고칠수 있습니다.
This commit is contained in:
parent
37cea6b1ce
commit
0a79f3073f
1 changed files with 2 additions and 2 deletions
|
|
@ -1888,7 +1888,7 @@ class menuAdminController extends menu
|
|||
$name_str = sprintf('$_names = array(%s); print $_names[$lang_type];', $name_arr_str);
|
||||
|
||||
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url);
|
||||
$desc = str_replace(array('&','"','<'),array('&','"','<'),$node->desc);
|
||||
$desc = str_replace(array('&','"','<',"'"),array('&','"','<','\\\''),$node->desc);
|
||||
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/', $node->url))
|
||||
{
|
||||
$href = "getSiteUrl('$domain', '','mid','$node->url')";
|
||||
|
|
@ -1991,7 +1991,7 @@ class menuAdminController extends menu
|
|||
// List variables
|
||||
$href = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->href);
|
||||
$url = str_replace(array('&','"','<','>'),array('&','"','<','>'),$node->url);
|
||||
$desc = str_replace(array('&','"','<'),array('&','"','<'),$node->desc);
|
||||
$desc = str_replace(array('&','"','<',"'"),array('&','"','<','\\\''),$node->desc);
|
||||
if(preg_match('/^([0-9a-zA-Z\_\-]+)$/i', $node->url))
|
||||
{
|
||||
$href = "getSiteUrl('$domain', '','mid','$node->url')";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue