File: /storage/v4513/ivenusin/public_html/wp-content/plugins/object-cache-pro/stubs/mu-plugin.php
<?php
/*
* Plugin Name: Object Cache Pro (MU)
* Plugin URI: https://objectcache.pro
* Description: A business class Redis object cache backend for WordPress.
* Version: 1.15.0
* Author: Rhubarb Group
* Author URI: https://rhubarb.group
* License: Proprietary
* Requires PHP: 7.0
*/
defined('ABSPATH') || exit;
define('RedisCachePro\Basename', basename(__FILE__));
foreach ([
defined('WP_REDIS_DIR') ? rtrim(WP_REDIS_DIR, '/') : null,
__DIR__ . '/redis-cache-pro',
__DIR__ . '/object-cache-pro',
] as $path) {
if (is_null($path)) {
continue;
}
foreach (['redis-cache-pro.php', 'object-cache-pro.php'] as $file) {
if (is_readable("{$path}/{$file}") && include_once "{$path}/{$file}") {
return;
}
}
}
error_log('objectcache.critical: Failed to locate and load Object Cache Pro plugin');
if (defined('WP_DEBUG') && WP_DEBUG) {
throw new RuntimeException('Failed to locate and load Object Cache Pro plugin');
}