3 * Allow programs to request this object from WebRequest::response()
4 * and handle all outputting (or lack of outputting) via it.
8 /** Output a HTTP header */
9 function header($string, $replace=true) {
10 header($string,$replace);
13 /** Set the browser cookie */
14 function setcookie($name, $value, $expire) {
15 global $wgCookiePath, $wgCookieDomain, $wgCookieSecure;
16 setcookie($name,$value,$expire, $wgCookiePath, $wgCookieDomain, $wgCookieSecure);