[geeklog-hg] geeklog: Updated code comment for changeset 7e15f915da0e
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Wed Sep 18 22:00:31 EDT 2013
changeset 9307:f5794fc060b5
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/f5794fc060b5
user: Tom <websitemaster at cogeco.net>
date: Wed Sep 18 21:59:25 2013 -0400
description:
Updated code comment for changeset 7e15f915da0e
diffstat:
system/classes/template.class.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r b47e913d09d6 -r f5794fc060b5 system/classes/template.class.php
--- a/system/classes/template.class.php Wed Sep 18 21:39:48 2013 -0400
+++ b/system/classes/template.class.php Wed Sep 18 21:59:25 2013 -0400
@@ -2053,9 +2053,10 @@
$iid = str_replace(array('..', '/', '\\', ':'), '', $iid);
// COMMENT ORIGINAL LINE below out since not sure why changing dashes to under scores
- // When creating the cache file we use COM_sanitizeFilename which doesn't change dashes so
+ // When creating the cache instance file we use COM_sanitizeFilename which doesn't change dashes so
// no need to change here when deleting cache file (since names will not match).
// Dashes can be used in ids like with blocks, articles, and staticpages
+ // Confusion may have happened since this is done for cache theme template files but not cache instances
// $iid = str_replace('-','_',$iid);
$path_cache = substr($TEMPLATE_OPTIONS['path_cache'], 0, -1);
CACHE_clean_directories($path_cache, 'instance__'.$iid);
More information about the geeklog-cvs
mailing list