Fix debug log

This commit is contained in:
Jamie Cameron
2009-03-07 00:06:10 +00:00
parent f9e60f5094
commit 320081439d
2 changed files with 2 additions and 2 deletions

View File

@@ -3401,6 +3401,8 @@ if (!defined($ENV{'WEBMIN_VAR'})) {
else {
$var_directory = $ENV{'WEBMIN_VAR'};
}
$main::http_cache_directory = $ENV{'WEBMIN_VAR'}."/cache";
$main::default_debug_log_file = $ENV{'WEBMIN_VAR'}."/webmin.debug";
if ($ENV{'SESSION_ID'}) {
# Hide this variable from called programs, but keep it for internal use

View File

@@ -20,9 +20,7 @@ $remote_error_handler = "error";
'sep' => 8, 'oct' => 9, 'nov' =>10, 'dec' =>11 );
%number_to_month_map = reverse(%month_to_number_map);
$main::initial_process_id ||= $$;
$main::http_cache_directory = $ENV{'WEBMIN_VAR'}."/cache";
$main::default_debug_log_size = 10*1024*1024;
$main::default_debug_log_file = $ENV{'WEBMIN_VAR'}."/webmin.debug";
$webmin_feedback_address = "feedback\@webmin.com";
$default_lang = "en";