Server IP : 104.21.93.192 / Your IP : 216.73.216.84 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/fyntric.com/wp-content/plugins/wp-super-cache/ |
Upload File : |
<?php // WP SUPER CACHE 1.2 function wpcache_broken_message() { global $wp_cache_config_file; if ( isset( $wp_cache_config_file ) == false ) { return ''; } $doing_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX; $xmlrpc_request = defined( 'XMLRPC_REQUEST' ) && XMLRPC_REQUEST; $rest_request = defined( 'REST_REQUEST' ) && REST_REQUEST; $robots_request = strpos( $_SERVER['REQUEST_URI'], 'robots.txt' ) != false; $skip_output = ( $doing_ajax || $xmlrpc_request || $rest_request || $robots_request ); if ( false == strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) && ! $skip_output ) { echo '<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->'; } } if ( false == defined( 'WPCACHEHOME' ) ) { define( 'ADVANCEDCACHEPROBLEM', 1 ); } elseif ( ! include_once WPCACHEHOME . 'wp-cache-phase1.php' ) { if ( ! @is_file( WPCACHEHOME . 'wp-cache-phase1.php' ) ) { define( 'ADVANCEDCACHEPROBLEM', 1 ); } } if ( defined( 'ADVANCEDCACHEPROBLEM' ) ) { register_shutdown_function( 'wpcache_broken_message' ); }