根据用户名和密码获取一个hash
string Bootstrap::get_debug_hash( string $username , string $password )
参数列表
参数 类型 描述 默认值 $username
string
$username $password
string
$password
string
public static function get_debug_hash($username, $password)
{
$config_str = var_export(self::$core_config['debug_open_password'], true);
return sha1($config_str . '_open$&*@debug' . $password . '_' . $username );
}