aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorfloam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 07:37:25 +0000
committerfloam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-02 07:37:25 +0000
commitf24e75bd530b7f6fce71bf63ca293d6eceb5aeae (patch)
treee7a697d24785418786e84376f36bd6d995c210a2 /web
parent0238b662ac2bea7f79e2cb1c66b2ccaff72284b8 (diff)
downloadioquake3-aero-f24e75bd530b7f6fce71bf63ca293d6eceb5aeae.tar.gz
ioquake3-aero-f24e75bd530b7f6fce71bf63ca293d6eceb5aeae.zip
track down non-workingness
git-svn-id: svn://svn.icculus.org/quake3/trunk@225 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'web')
-rw-r--r--web/include/thebrain.php2
1 files changed, 2 insertions, 0 deletions
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");
}