mirror of
https://github.com/webmin/webmin.git
synced 2026-02-13 02:12:59 +00:00
Allow pre-caching to be disabled
This commit is contained in:
@@ -5646,6 +5646,7 @@ sub precache_files
|
||||
{
|
||||
undef(%main::read_file_cache);
|
||||
foreach my $g (split(/\s+/, $config{'precache'})) {
|
||||
next if ($g eq "none");
|
||||
foreach my $f (glob("$config{'root'}/$g")) {
|
||||
my @st = stat($f);
|
||||
next if (!@st);
|
||||
|
||||
Reference in New Issue
Block a user