Allow pre-caching to be disabled

This commit is contained in:
Jamie Cameron
2010-12-09 10:42:06 -08:00
parent 463e08756b
commit a0ce07e5b7

View File

@@ -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);