Charlie 9 жил өмнө
parent
commit
a9f753a8f9

+ 1 - 1
www/protected/models/RegisterForm.php

@@ -74,7 +74,7 @@ class RegisterForm extends CFormModel
         $user->last_login = 0;
         $user->login_times = 0;
         $user->_id = $user->get_new_id();
-        if ($user->email == 'admin@wozhua.mobi'){ //设置默认的超级管理员
+        if ($user->email == 'admin@yiguanjia.me'){ //设置默认的超级管理员
         	$auth = Yii::app()->authManager;
         	$user->status = 1;
         	if (!$auth->getAuthItem($auth->super_admin)){