MDL-11434 $CFG->filelifetime = 0 has no effect; patch by Chris Fryer; backported from HEAD

This commit is contained in:
skodak
2007-09-25 19:09:08 +00:00
parent 23ae278546
commit fadd42e097
+1 -1
View File
@@ -14,7 +14,7 @@
require_once('config.php');
require_once('lib/filelib.php');
if (empty($CFG->filelifetime)) {
if (!isset($CFG->filelifetime)) {
$lifetime = 86400; // Seconds for files to remain in caches
} else {
$lifetime = $CFG->filelifetime;