Remove ?>'s from files. They're pointless, and just asking for people to mess with...
[lhc/web/wiklou.git] / includes / WebResponse.php
1 <?php
2 /**
3 * Allow programs to request this object from WebRequest::response()
4 * and handle all outputting (or lack of outputting) via it.
5 */
6 class WebResponse {
7
8 /** Output a HTTP header */
9 function header($string, $replace=true) {
10 header($string,$replace);
11 }
12
13 /** Set the browser cookie */
14 function setcookie($name, $value, $expire) {
15 global $wgCookiePath, $wgCookieDomain, $wgCookieSecure;
16 setcookie($name,$value,$expire, $wgCookiePath, $wgCookieDomain, $wgCookieSecure);
17 }
18 }
19
20