Jump to content

How to set IPB 2.2 use Eaccelerator or Xcache or Mysqli?


Guest backdream

Recommended Posts

No no no don't do that - init_load_cache MUST be called, regardless of whether you can use an external cache method.



Yes, $ipsclass->init_load_cache( $ipsclass->cache_array ); - MUST be called

And I CALL it :thumbsup:

My hosting not support any cache method. And Im just - turn off it:

if ($ipsclass->vars['are_u_can_use_cache']) {
$ipsclass->init_cache_setup();
} // NO WAY 4 CACHE - WHY WE NEED CALL UNUSED FUNCTION

$ipsclass->init_load_cache( $ipsclass->cache_array ); // MUST be called



Thank you very much, bfarber 4 your answers!!!

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Oh, I see you're commenting out init_cache_setup(); My apologies.

There is already code in place inside this function that verifies a cache library is enabled and supported, so I don't see any reason to wrap it in an if statement or comment it out. But it shouldn't hurt anything if you really want to do so.

Link to comment
Share on other sites

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...