git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4892 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2008-11-19 04:57:09 +00:00
parent dee1a23dc1
commit f35af73e68
8 changed files with 24 additions and 10 deletions

View file

@ -133,6 +133,8 @@
* @brief 모듈 입력
**/
function insertModule($args) {
if(!ereg("^[a-zA-Z][a-zA-Z0-9_]+", $args->mid)) return new Object(-1, 'msg_limit_mid');
// begin transaction
$oDB = &DB::getInstance();
$oDB->begin();