Permalink
Browse files

Fix - Cache

  • Loading branch information...
yama committed Nov 3, 2015
1 parent a63f0cf commit b677f21c91c57d5f913a29406b48abf70832d478
Showing with 0 additions and 2 deletions.
  1. +0 −2 manager/includes/document.parser.class.inc.php
@@ -1134,8 +1134,6 @@ function getCache($id)
if(substr($flContent,0,5)==='<?php') $flContent = substr($flContent, 37); // remove php header
$a = explode('<!--__MODxCacheSpliter__-->', $flContent, 2);
if(count($a) == 1) return $a[0];
elseif(substr($flContent,0,5)!=='<?php')
return $a[1];
$docObj = unserialize(trim($a['0'])); // rebuild document object
// add so - check page security(admin(mgrRole=1) is pass)

0 comments on commit b677f21

Please sign in to comment.