From 8fc366b1b2e1d985baa7300e91b1c8cf3c88d8cb Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 23 Oct 2012 13:25:56 +0000 Subject: add pwd to script paths --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 12a35a4..d2baac9 100644 --- a/it.class +++ b/it.class @@ -132,7 +132,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de if ($_SERVER['REMOTE_ADDR']) $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; else - $url = $_SERVER['SCRIPT_NAME']; + $url = $_SERVER['SCRIPT_NAME'] . " (pwd " . $_SERVER['PWD'] . ")"; $gods = strtr(trim(@file_get_contents($GLOBALS['ULTRAHOME'] . "/.diffnotice")), array("\n"=>', ')); if (!$p['to']) -- cgit v1.2.3