Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #BEGIN_EZOIC_INTEGRATION_PHP_CACHE_HANDLER
- $ezoic_factory_file = WP_CONTENT_DIR . '/plugins' . '/ezoic-integration/includes/class-ezoic-integration-factory.php';
- if ( false == strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) && file_exists( $ezoic_factory_file ) ) {
- require_once($ezoic_factory_file);
- $ezoic_factory = new Ezoic_Namespace\Ezoic_Integration_Factory();
- $ezoic_integrator = $ezoic_factory->NewEzoicIntegrator(Ezoic_Namespace\Ezoic_Cache_Type::PHP_CACHE);
- register_shutdown_function(array($ezoic_integrator, "ApplyEzoicMiddleware"));
- }
- #END_EZOIC_INTEGRATION_PHP_CACHE_HANDLER
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement