Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/upload/includes/class_CMS.php 2010-04-15 18:40:05.000000000 +0600
- +++ b/upload/includes/class_CMS.php 2010-10-31 07:01:18.000000000 +0500
- @@ -552,6 +552,16 @@
- $page .= $out;
- $this->theme->showpage($page);
- +
- + // memcache hack committed by [UNIX-gaming] /dev/null <xmpp:null@unix-gaming.net>
- + if(defined('ps_memcache_use')) {
- + global $memcache,$mchash;
- +
- + $output=ob_get_clean(); // got it :)
- + $memcache->add($mchash,$output,0,ps_memcache_ttl); // adding this to memcached
- + die($output); // and showing it
- + }
- +
- exit();
- }
Add Comment
Please, Sign In to add comment