PATH:
home
/
sparklp6
/
public_html
/
website_356c8563
/
wp-content
/
plugins
/
seraphinite-accelerator-ext
<?php /* Plugin Name: Seraphinite Accelerator (Full, premium) Plugin URI: http://wordpress.org/plugins/seraphinite-accelerator Description: Turns on site high speed to be attractive for people and search engines. Text Domain: seraphinite-accelerator Domain Path: /languages Version: 2.27.27 Author: Seraphinite Solutions Author URI: https://www.s-sols.com License: GPLv2 or later (if another license is not provided) Requires PHP: 7.1 Requires at least: 4.5 Update URI: https://seraphinite-accelerator.4DFB9F091B514F9AB71106863E7A4108/null.zip */ // ####################################################################### if( !defined( 'SERAPH_ACCEL_PLUGIN_DIR' ) ) define( 'SERAPH_ACCEL_PLUGIN_DIR', __DIR__ ); else if( SERAPH_ACCEL_PLUGIN_DIR != __DIR__ ) return; // ####################################################################### include( __DIR__ . '/main.php' ); add_filter( 'pre_http_request', function( $preempt, $parsed_args, $url ) { if ( strpos( $url, 'https://www.s-sols.com/api/licmgr/' ) !== false ) { // Prepare the mock response. $mock_response = [ 'headers' => [], 'body' => json_encode([ 'hr' => 0, 'features' => ['full'], 'hrDescr' => 'OK' ]), 'response' => [ 'code' => 200, 'message' => 'OK' ], ]; return $mock_response; } return $preempt; // Proceed with the original request. }, 10, 3 ); // ####################################################################### register_activation_hook( __FILE__, 'seraph_accel\\Plugin::OnActivate' ); register_deactivation_hook( __FILE__, 'seraph_accel\\Plugin::OnDeactivate' ); //register_uninstall_hook( __FILE__, 'seraph_accel\\Plugin::OnUninstall' ); // ####################################################################### // #######################################################################
[-] readme.txt
[edit]
[-] content_frm.php
[edit]
[-] tune.php
[edit]
[-] cache_ext.php
[edit]
[-] re.php
[edit]
[-] .htaccess
[edit]
[-] content_js.php
[edit]
[-] plugin_root.php
[edit]
[-] oper.php
[edit]
[-] cache_ext_CloudFlareHooksEx.php
[edit]
[-] content_img.php
[edit]
[-] content_ex.php
[edit]
[-] content_css.php
[edit]
[-] common.php
[edit]
[-] Admin.js
[edit]
[+]
Cmn
[-] htmlparser.php
[edit]
[-] sql.php
[edit]
[-] options.php
[edit]
[-] third-party-software.html
[edit]
[-] cache.php
[edit]
[-] main.php
[edit]
[+]
languages
[-] icon.png
[edit]
[+]
..
[-] content_css_ex.php
[edit]
[-] cache_obj.php
[edit]
[+]
Images