| Server IP : 104.21.21.239 / Your IP : 216.73.216.101 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/ndb/wp-content/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
class Cdn_StackPath_Page {
// called from plugin-admin
static public function admin_print_scripts_w3tc_cdn() {
wp_enqueue_script( 'w3tc_cdn_stackpath',
plugins_url( 'Cdn_StackPath_Page_View.js', W3TC_FILE ),
array( 'jquery' ), '1.0' );
}
static public function w3tc_settings_cdn_boxarea_configuration() {
$config = Dispatcher::config();
$key = $config->get_string( 'cdn.stackpath.authorization_key' );
$zone = $config->get_string( 'cdn.stackpath.zone_id' );
$domains = $config->get_array( 'cdn.stackpath.domain' );
$authorized = !empty( $key ) && !empty( $zone );
$http_domain = isset( $domains['http_default'] ) ? $domains['http_default'] : null;
$https_domain = isset( $domains['https_default'] ) ? $domains['https_default'] : null;
include W3TC_DIR . '/Cdn_StackPath_Page_View.php';
}
}