[freenet-cvs] r12029 - trunk/website

nextgens at freenetproject.org nextgens at freenetproject.org
Thu Mar 8 01:39:33 UTC 2007


Author: nextgens
Date: 2007-03-08 01:39:32 +0000 (Thu, 08 Mar 2007)
New Revision: 12029

Modified:
   trunk/website/index.php
Log:
website: fix a stupid typo : 410 not 401

Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php	2007-03-08 00:57:02 UTC (rev 12028)
+++ trunk/website/index.php	2007-03-08 01:39:32 UTC (rev 12029)
@@ -3,7 +3,7 @@
 	$page = htmlentities($_REQUEST["page"]);
 	if(!file_exists("pages/".escapeshellcmd($page).".php") )
 	{
-		header('HTTP/1.0 401 Likely to be gone');
+		header('HTTP/1.0 410 Likely to be gone');
 		if(empty($_SERVER["HTTP_REFERER"]) || empty($_SERVER["REQUEST_URI"])){
 			header("Location: /");
 		}




More information about the cvs mailing list