* Non-working API to facilitate dev collaboration. Do not enable this yet in localset...
[lhc/web/wiklou.git] / includes / WebResponse.php
1 <?php
2
3 /*
4 * Allow programs to request this object from WebRequest::response() and handle all outputting (or lack of outputting) via it.
5 */
6
7 class WebResponse {
8 function header($string, $replace=true) {
9 header($string,$replace);
10 }
11
12 function setcookie($name, $value, $expire) {
13 global $wgCookiePath, $wgCookieDomain, $wgCookieSecure;
14 setcookie($name,$value,$expire, $wgCookiePath, $wgCookieDomain, $wgCookieSecure);
15 }
16 }
17
18 ?>