public function __construct() { if (!php_Boot::$skip_constructor) { $s = null; $s1 = php_Web::getParamsString(); $s = urldecode($s1); if (_hx_char_at($s, strlen($s) - 1) === "/") { $s = _hx_substr($s, 0, strlen($s) - 1); } $this->query_string = $s; if (strlen($this->query_string) >= 255) { throw new HException(new system_base_Http_exception("Query string malformed or too long", 414, _hx_anonymous(array("fileName" => "Router.hx", "lineNumber" => 28, "className" => "system.base.Router", "methodName" => "new")))); } $this->query_hash = haxe_crypto_Md5::encode($this->query_string); } }
static function get_MD5_cookies() { return haxe_crypto_Md5::encode(Std::string(php_Web::getCookies())); }