| Server IP : 193.146.211.90 / Your IP : 10.85.6.55 Web Server : Apache System : Linux wordpress-gti-69dcdb54f7-n4wdq 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64 User : 1001 ( 1001) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
class Cdn_StackPath2_Page {
// called from plugin-admin
static public function admin_print_scripts_w3tc_cdn() {
wp_enqueue_script( 'w3tc_cdn_stackpath',
plugins_url( 'Cdn_StackPath2_Page_View.js', W3TC_FILE ),
array( 'jquery' ), '1.0' );
}
static public function w3tc_settings_cdn_boxarea_configuration() {
$config = Dispatcher::config();
$client_id = $config->get_string( 'cdn.stackpath2.client_id' );
$site_id = $config->get_string( 'cdn.stackpath2.site_id' );
$domains = $config->get_array( 'cdn.stackpath2.domain' );
$authorized = !empty( $client_id ) && !empty( $site_id );
$http_domain = isset( $domains['http_default'] ) ? $domains['http_default'] : null;
$https_domain = isset( $domains['https_default'] ) ? $domains['https_default'] : null;
include W3TC_DIR . '/Cdn_StackPath2_Page_View.php';
}
}