projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463e087
)
Allow pre-caching to be disabled
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 9 Dec 2010 18:42:06 +0000
(10:42 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 9 Dec 2010 18:42:06 +0000
(10:42 -0800)
miniserv.pl
patch
|
blob
|
history
diff --git
a/miniserv.pl
b/miniserv.pl
index
9aec616
..
feef5a4
100755
(executable)
--- a/
miniserv.pl
+++ b/
miniserv.pl
@@
-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);