@ -48,6 +48,14 @@ class Env
return (isset($_POST[$key])) ? $_POST[$key] : $default;
}
static public function Request($key = null, $default = null)
{
if ($key === null) {
return $_REQUEST;
return (isset($_REQUEST[$key])) ? $_REQUEST[$key] : $default;
static public function Cookie($key = null, $default = false)
xxxxxxxxxx
xxxxxxxxxx