X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=http.php;h=b183275e1ef12b97823eed07b8d1c15275dc4267;hb=dabdfec87e89ad579cf543608ad118f30981a1c5;hp=efc08daf20fe48df497f24fa363c4d8c796200bc;hpb=6efe0372c5d3b2db723ada811917b6a52f13130b;p=wfpl.git diff --git a/http.php b/http.php index efc08da..b183275 100644 --- a/http.php +++ b/http.php @@ -4,20 +4,19 @@ # # This file is part of wfpl. # -# wfpl is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) +# wfpl is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # -# wfpl is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. +# wfpl is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for +# more details. # -# You should have received a copy of the GNU General Public License -# along with wfpl; see the file COPYING. If not, write to the -# Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, -# MA 02111-1307, USA. +# You should have received a copy of the GNU Lesser General Public License +# along with wfpl; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # return our best guess at the url used to access this page @@ -49,7 +48,7 @@ function this_url() { } function redirect($url, $status = '302 Moved Temporarily', $message = '') { - header("HTTP/1.1 $status"); + header("HTTP/1.0 $status"); header("Location: $url"); echo($message); exit();