diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2007-05-16 20:58:53 +0000 |
commit | cecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch) | |
tree | 17266aa237742640aabee7856f0202317a45d540 /includes/WebResponse.php | |
parent | 0bac06c301f2a83edb0236e4c2434da16848d549 (diff) |
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert
kleine Korrekturen am Design
Diffstat (limited to 'includes/WebResponse.php')
-rw-r--r-- | includes/WebResponse.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/includes/WebResponse.php b/includes/WebResponse.php index e159152e..92343195 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -1,18 +1,20 @@ <?php - -/* - * Allow programs to request this object from WebRequest::response() and handle all outputting (or lack of outputting) via it. +/** + * Allow programs to request this object from WebRequest::response() + * and handle all outputting (or lack of outputting) via it. */ - class WebResponse { + + /** Output a HTTP header */ function header($string, $replace=true) { header($string,$replace); } - + + /** Set the browser cookie */ function setcookie($name, $value, $expire) { global $wgCookiePath, $wgCookieDomain, $wgCookieSecure; setcookie($name,$value,$expire, $wgCookiePath, $wgCookieDomain, $wgCookieSecure); } } -?>
\ No newline at end of file +?> |