Disable debug log by default; the previous default was insecure
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 25 Nov 2003 06:04:38 +0000 (06:04 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 25 Nov 2003 06:04:38 +0000 (06:04 +0000)
includes/DefaultSettings.php

index 037a513..14dc1d5 100644 (file)
@@ -75,7 +75,11 @@ $wgSiteSupportPage   = "";
 # Miscellaneous configuration settings
 #
 $wgReadOnlyFile         = "{$wgUploadDirectory}/lock_yBgMBwiR";
-$wgDebugLogFile         = "{$wgUploadDirectory}/log_dlJbnMZb";
+
+# The debug log file should be not be publically accessible if it is
+# used, as it may contain private data.
+$wgDebugLogFile         = "";
+
 $wgDebugComments        = false;
 $wgReadOnly             = false;
 $wgSqlLogFile           = "{$wgUploadDirectory}/sqllog_mFhyRe6";