summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-02-01 20:45:58 +0100
committerandi <andi@splitbrain.org>2005-02-01 20:45:58 +0100
commit28fb55ffad18550ed855570ce3e77884a9a8ab27 (patch)
treebd694d64877c87bb3020480a3050b682ba4648b2
parent760668cd7e6f50143867f0130a636326e6daf1d0 (diff)
downloadrpg-28fb55ffad18550ed855570ce3e77884a9a8ab27.tar.gz
rpg-28fb55ffad18550ed855570ce3e77884a9a8ab27.tar.bz2
removed sensitive data from debug (fixes #108)
darcs-hash:20050201194558-9977f-86d3d74528e976ffada144bfda82a763a9e5005f.gz
-rw-r--r--inc/html.php6
1 files changed, 5 insertions, 1 deletions
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 '<html><body>';
@@ -1090,7 +1094,7 @@ function html_debug(){
print '</pre>';
print '<b>$conf:</b><pre>';
- print_r($conf);
+ print_r($cnf);
print '</pre>';
print '<b>abs baseURL:</b><pre>';