Skip to content
Permalink
Browse files

https fix: protocol-dependent template caching for pages with google …

…maps
  • Loading branch information...
following5 committed Dec 28, 2015
1 parent dbf9d0c commit 60b3f159dcdf0e99d49ceee767c37e8ab80b2734
Showing with 2 additions and 2 deletions.
  1. +1 −1 htdocs/index.php
  2. +1 −1 htdocs/viewcache.php
@@ -17,7 +17,7 @@
$tpl->caching = true;
$tpl->cache_lifetime = 300;
$tpl->cache_id = $sUserCountry;
$tpl->cache_id = $sUserCountry . '|' . $opt['page']['protocol'];
if (!$tpl->is_cached())
{
@@ -77,7 +77,7 @@ function getChildWaypoints($cacheid)
//$tpl->caching = true;
//$tpl->cache_lifetime = 31*24*60*60;
//$tpl->cache_id = $cacheid . '|' . $sPreferedDescLang;
//$tpl->cache_id = $cacheid . '|' . $sPreferedDescLang . '|' . $opt['page']['protocol'];
if ($login->userid!=0)
{

0 comments on commit 60b3f15

Please sign in to comment.
You can’t perform that action at this time.