Forráskód Böngészése

Merge branch 'develop'

star7th 9 éve
szülő
commit
22e3e4ae22
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Application/Home/Controller/ItemController.class.php

+ 1 - 1
Application/Home/Controller/ItemController.class.php

@@ -58,7 +58,7 @@ class ItemController extends BaseController {
                     $this->message(L('domain_already_exists'));
                     return false;
                 }
-                if(!ctype_alnum($item_domain)){
+                if(!ctype_alnum($item_domain) ||  is_numeric($item_domain) ){
                     //echo '个性域名只能是字母或数字的组合';exit;
                     $this->message(L('item_domain_illegal'));
                     return false;