PATH:
home
/
sparklp6
/
public_html
/
website_356c8563
/
wp-content
/
plugins
/
seraphinite-accelerator-ext
<?php namespace seraph_accel; if( !defined( 'ABSPATH' ) ) exit; class CloudFlareHooksEx extends \CF\WordPress\Hooks { public function purgeUrl( $url ) { if( !( $host = Gen::GetArrField( Net::UrlParse( $url ), array( 'host' ) ) ) ) return; $bFound = false; foreach( Gen::GetArrField( $this -> integrationAPI -> getDomainList(), array( '' ), array() ) as $domain ) { if( Gen::StrEndsWith( $host, $domain ) ) { $bFound = true; break; } } if( !$bFound ) return; if( !( $zoneTag = $this -> api -> getZoneTag( $domain ) ) ) return; $files = array( $url ); foreach( array( 'mobile', 'tablet' ) as $devType ) $files[] = json_decode( json_encode( array( 'url' => $url, 'headers' => array( 'CF-Device-Type' => $devType ) ), JSON_FORCE_OBJECT ) ); $this -> api -> zonePurgeFiles( $zoneTag, $files ); } }
[-] 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