r225 - trunk/web/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 2 02:37:25 EST 2005


Author: floam
Date: 2005-11-02 02:37:25 -0500 (Wed, 02 Nov 2005)
New Revision: 225

Modified:
   trunk/web/include/thebrain.php
Log:
track down non-workingness


Modified: trunk/web/include/thebrain.php
===================================================================
--- trunk/web/include/thebrain.php	2005-11-02 07:35:58 UTC (rev 224)
+++ trunk/web/include/thebrain.php	2005-11-02 07:37:25 UTC (rev 225)
@@ -8,6 +8,8 @@
 function include_safe($file) {
 	if (file_exists("include/$file")) {
 		if (strpos(realpath("include/$file"), realpath($_SERVER['DOCUMENT_ROOT'])) !== 0) {
+			echo $_SERVER['DOCUMENT_ROOT'];
+			echo realpath("include/$file");
 			$code = 403;
 			require("errors.php");
 		}




More information about the quake3-commits mailing list