Guest User

Untitled

a guest
Aug 17th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. --- a/upload/includes/class_CMS.php 2010-04-15 18:40:05.000000000 +0600
  2. +++ b/upload/includes/class_CMS.php 2010-10-31 07:01:18.000000000 +0500
  3. @@ -552,6 +552,16 @@
  4. $page .= $out;
  5.  
  6. $this->theme->showpage($page);
  7. +
  8. + // memcache hack committed by [UNIX-gaming] /dev/null <xmpp:null@unix-gaming.net>
  9. + if(defined('ps_memcache_use')) {
  10. + global $memcache,$mchash;
  11. +
  12. + $output=ob_get_clean(); // got it :)
  13. + $memcache->add($mchash,$output,0,ps_memcache_ttl); // adding this to memcached
  14. + die($output); // and showing it
  15. + }
  16. +
  17. exit();
  18. }
Add Comment
Please, Sign In to add comment