Formatting.

pull/57/merge
Mike Cao 11 years ago
parent 6a7622d99b
commit 3fde3685c5

@ -228,6 +228,10 @@ class Request {
/**
* Get variable from $_SERVER using $default if not provided
*
* @param string $var Variable name
* @param string $default Default value to substitute
* @return string Server variable value
*/
private function server($var, $default='') {
return isset($_SERVER[$var]) ? $_SERVER[$var] : $default;

Loading…
Cancel
Save