| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/grupo-seg.com/wp-content/mu-plugins/closte/ |
Upload File : |
<?php
/*
Plugin Name: Closte
Plugin URI: https://closte.com
Description: High performance one click implementation of object cache and Google Cloud CDN for Closte cloud platform users.
Version: 2.1.2
Author: Closte LLC
Author URI: https://closte.com
*/
defined('ABSPATH') OR exit;
/* constants */
define('CLOSTE_DIR', dirname(__FILE__));
define('CLOSTE_BASE', plugin_basename(__FILE__));
define('CLOSTE_MIN_WP', '4.0');
/* loader */
add_action(
'plugins_loaded',
array(
'Closte',
'instance'
)
);
/* autoload init */
spl_autoload_register('Closte_autoload');
if ( defined( 'WP_CLI' ) && WP_CLI ) {
// Register CLI cmd
if ( method_exists( 'WP_CLI', 'add_command' ) ) {
WP_CLI::add_command( 'closte', 'Closte_WP_CLI' ) ;
}
}
/* autoload funktion */
function Closte_autoload($class) {
if ( in_array($class, array('Closte', 'Closte_Rewriter', 'Closte_Settings' ,'Closte_Api' ,'Closte_Ajax','Closte_WP_CLI','Closte_Options')) ) {
require_once(
sprintf(
'%s/inc/%s.class.php',
CLOSTE_DIR,
strtolower($class)
)
);
}
}