]> git.mxchange.org Git - mailer.git/commitdiff
- remove triplle extension (.tpl.cache.php)
authorRoland Haeder <roland@mxchange.org>
Tue, 8 Apr 2014 19:19:12 +0000 (21:19 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 8 Apr 2014 19:19:12 +0000 (21:19 +0200)
- ignored only new cache files
- missed to use getPath() to generate FQFN (full-qualified file name) for template cache file

Signed-off-by: Roland Häder <roland@mxchange.org>
.gitignore
inc/template-functions.php

index 7a1324326ae172427b67d16abf9ecbc4f28b1c2b..1fd8eadacc68a7d467c038fab07cea1375d7db24 100644 (file)
@@ -1,21 +1,20 @@
-/.cache
-/.project
-/.settings
-/core
+/.cache/
+/.project/
+/.settings/
+/core/
 DOCS/*.log
 DOCS/doxygen/*.tmp
-DOCS/doxygen/html
-inc/.secret
-inc/cache/*.cache
+DOCS/doxygen/html/
+inc/.secret/
 inc/cache/*.cache.php
 inc/cache/*.log
 inc/cache/*.rss
 inc/cache/.revision
-inc/cache/_compiled/email/*.cache
-inc/cache/_compiled/html/*.cache
-inc/cache/_compiled/xml/*.cache
+inc/cache/_compiled/email/*.cache.php
+inc/cache/_compiled/html/*.cache.php
+inc/cache/_compiled/xml/*.cache.php
 inc/cache/config-local.php
 inc/cache/sess_*
-/nbproject
+/nbproject/
 theme/org/css/aboutme.css
 contrib/seitwert_www_mxchange_org.pdf
index 56eb35dc84976691bda8398d795bee11c005783d..5eb84e4339c5ddaa4c7e1ac22445426b55d4a9b7 100644 (file)
@@ -1931,7 +1931,8 @@ function generateCacheFqfn ($prefix, $template) {
        if (!isset($GLOBALS['template_cache_fqfn'][$prefix][$template])) {
                // Generate the FQFN
                $GLOBALS['template_cache_fqfn'][$prefix][$template] = sprintf(
-                       '%s_compiled/%s/%s.tpl%s',
+                       '%s%s_compiled/%s/%s%s',
+                       getPath(),
                        getCachePath(),
                        $prefix,
                        $template,