[geeklog-hg] geeklog: Better checking of config option for cache_templates wh...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Apr 17 14:28:21 EDT 2013
changeset 9050:d78184bc16d7
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d78184bc16d7
user: Tom <websitemaster at cogeco.net>
date: Wed Apr 17 14:27:31 2013 -0400
description:
Better checking of config option for cache_templates when creating the template class.
diffstat:
system/classes/template.class.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b51c75ee556c -r d78184bc16d7 system/classes/template.class.php
--- a/system/classes/template.class.php Mon Apr 15 11:22:14 2013 -0400
+++ b/system/classes/template.class.php Wed Apr 17 14:27:31 2013 -0400
@@ -304,7 +304,7 @@
$this->set_var($k, $v);
}
}
- if ( $_CONF['cache_templates'] ) {
+ if ( isset($_CONF['cache_templates']) && $_CONF['cache_templates'] == true ) {
clearstatcache();
}
}
More information about the geeklog-cvs
mailing list