vtigercrm 也可以支持中文用户名
step1: include\js\general.js 找到: // return (((c >= ‘a’) && (c <= ‘z’)) ||((c >= ‘A’) && (c <= ‘Z’)) ||((c >= ’0′) && (c <= ’9′)) || (c == ‘.’) || (c == ‘_’) || (c == ‘-’) || (c == ) ); 替换为: return true; step2: \modules\Users\users.php 找到: // encrypt the password. $salt = substr($this->column_fields["user_name"], 0, 2); 替换为: // encrypt the password. $salt = “adm”;//substr($this->column_fields["user_name"], 0, 2); step3: 除了admin 外,所有的用户的密码,需要更新一下