mirror of
https://github.com/webmin/webmin.git
synced 2026-06-20 11:20:30 +01:00
Fix debug log
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user