Commit 438deb9c authored by Sigrid Suski's avatar Sigrid Suski

workaround for #66

parent 218a958c
......@@ -367,15 +367,15 @@ abstract class Input
public static function Set( $name, $value, $request = 'request' )
{
Request::Instance()->{$request}->set( $name, $value );
switch ( $request ) {
case 'post':
$_POST[ $name ] = $value;
break;
case 'get':
$_GET[ $name ] = $value;
break;
}
$_REQUEST[ $name ] = $value;
// switch ( $request ) {
// case 'post':
// $_POST[ $name ] = $value;
// break;
// case 'get':
// $_GET[ $name ] = $value;
// break;
// }
// $_REQUEST[ $name ] = $value;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment