From f24e75bd530b7f6fce71bf63ca293d6eceb5aeae Mon Sep 17 00:00:00 2001 From: floam Date: Wed, 2 Nov 2005 07:37:25 +0000 Subject: track down non-workingness git-svn-id: svn://svn.icculus.org/quake3/trunk@225 edf5b092-35ff-0310-97b2-ce42778d08ea --- web/include/thebrain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/include/thebrain.php b/web/include/thebrain.php index 0baf3d0..d89027d 100644 --- a/web/include/thebrain.php +++ b/web/include/thebrain.php @@ -8,6 +8,8 @@ $navlist = array( 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"); } -- cgit v1.2.3