From 28fb55ffad18550ed855570ce3e77884a9a8ab27 Mon Sep 17 00:00:00 2001 From: andi Date: Tue, 1 Feb 2005 20:45:58 +0100 Subject: removed sensitive data from debug (fixes #108) darcs-hash:20050201194558-9977f-86d3d74528e976ffada144bfda82a763a9e5005f.gz --- inc/html.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index e6221c14b..e6e1e7e8c 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1078,6 +1078,10 @@ function html_signature(){ function html_debug(){ global $conf; global $lang; + //remove sensitive data + $cnf = $conf; + $cnf['auth']='***'; + $cnf['notify']='***'; print ''; @@ -1090,7 +1094,7 @@ function html_debug(){ print ''; print '$conf:
';
-  print_r($conf);
+  print_r($cnf);
   print '
'; print 'abs baseURL:
';
-- 
cgit v1.2.3