选择语言 :

 Bootstrap::get_debug_hash

根据用户名和密码获取一个hash

string Bootstrap::get_debug_hash( string $username , string $password )

参数列表

参数 类型 描述 默认值
$username string $username
$password string $password
返回值
  • string
File: ./core/bootstrap.php
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 );
}