|
|
|
@ -99,12 +99,10 @@ class IndexController extends HomeController
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function register()
|
|
|
|
|
/* public function register()
|
|
|
|
|
{
|
|
|
|
|
if (IS_POST) {
|
|
|
|
|
if (!C('USER_ALLOW_REGISTER')) {
|
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '已关闭用户注册!'));
|
|
|
|
|
}
|
|
|
|
|
$this->ajaxReturn(array('status' => 0, 'info' => '已关闭用户注册!'));
|
|
|
|
|
|
|
|
|
|
// unset($_POST['remember']);
|
|
|
|
|
$Promote = new PromoteApi();
|
|
|
|
@ -120,7 +118,7 @@ class IndexController extends HomeController
|
|
|
|
|
} else {
|
|
|
|
|
$this->display();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} */
|
|
|
|
|
|
|
|
|
|
public function rule()
|
|
|
|
|
{
|
|
|
|
|