Esempio n. 1
0
 function __construct()
 {
     global $Hardy_config;
     parent::__construct($Hardy_config['host'], $Hardy_config['user'], $Hardy_config['password'], $Hardy_config['schema']);
     $this->errors['user_already_exists'] = "用户名已存在!";
     $this->errors['login_error'] = "登录失败!可能有下面原因:<br/>1. 用户名不存在。<br/>2. 密码错误。<br/>3. 用户类型不正确。";
     $this->errors['passwords_not_match'] = "两次输入密码不一致!";
     $this->errors['password_not_correct'] = "密码错误!";
     $this->errors['not_activated'] = "对不起,您的帐号未激活!<br/>请联系管理员激活您的帐号。";
 }
Esempio n. 2
0
 function __construct()
 {
     global $Hardy_config;
     parent::__construct($Hardy_config['host'], $Hardy_config['user'], $Hardy_config['password'], $Hardy_config['schema']);
 }