mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
#18398490 : modify ereg to preg_match and fix matching RE
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6889 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ac8c0941a7
commit
df63050e7d
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@
|
|||
unset($args->page);
|
||||
|
||||
// mid값 검사
|
||||
if(!ereg("^[a-zA-Z][a-zA-Z0-9_]+", $args->mid)) return new Object(-1, 'msg_limit_mid');
|
||||
if(!preg_match("/^[a-z][a-z0-9_]+$/i", $args->mid)) return new Object(-1, 'msg_limit_mid');
|
||||
|
||||
// 변수를 검사 (modules의 기본 변수와 그렇지 않은 변수로 분리)
|
||||
$extra_vars = clone($args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue