projects
/
Pman.Cms
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #7591 - scanning templates for multiple projects using Content manager
[Pman.Cms]
/
OutputTranslations.php
diff --git
a/OutputTranslations.php
b/OutputTranslations.php
index
7a48aea
..
25e0f2a
100644
(file)
--- a/
OutputTranslations.php
+++ b/
OutputTranslations.php
@@
-154,6
+154,7
@@
class Pman_Cms_OutputTranslations extends Pman
function is_cached()
{
+
if (!empty($_GET['no_cache'])) {
return false;
}
@@
-178,6
+179,8
@@
class Pman_Cms_OutputTranslations extends Pman
$cms_templatestr->selectAdd("MAX(updated) AS latest");
$cms_templatestr->find(true);
+
+
if(filemtime($this->cachePath) < strtotime($cms_templatestr->latest)){
return false;
}