mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
Virtual Site 생성시 도메인 단위(서브도메인 또는 독립 도메인)이 아닌 ID 형식으로 생성 가능하도록 기능 개선.
SID 로 불리는 이 사이트ID는 MID와 중복이 불가능함. git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6051 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
40e1740839
commit
bb97446dfc
40 changed files with 313 additions and 189 deletions
|
|
@ -238,6 +238,13 @@
|
|||
return Context::getUrl($num_args, $args_list, $domain);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 가상사이트의 Domain이 url형식인지 site id인지 return
|
||||
**/
|
||||
function isSiteID($domain) {
|
||||
return preg_match('/^([a-z0-9\_]+)$/i', $domain);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 주어진 문자를 주어진 크기로 자르고 잘라졌을 경우 주어진 꼬리를 담
|
||||
* @param string 자를 원 문자열
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue