| Server IP : 216.238.66.20 / Your IP : 216.73.216.249 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/blushrubor.com/htdocs/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
namespace W3TC;
class Cdn_RackSpaceCdn_AdminActions {
function w3tc_cdn_rackspace_cdn_domains_reload() {
$c = Dispatcher::config();
$core = Dispatcher::component( 'Cdn_Core' );
$cdn = $core->get_cdn();
try {
// try to obtain CNAMEs
$domains = $cdn->service_domains_get();
} catch ( \Exception $ex ) {
Util_Admin::redirect_with_custom_messages2( array(
'errors' => array( 'Failed to obtain <acronym title="Canonical Name">CNAME</acronym>s: ' . $ex->getMessage() )
), true );
return;
}
$c->set( 'cdn.rackspace_cdn.domains', $domains );
$c->save();
Util_Admin::redirect_with_custom_messages2( array(
'notes' => array( 'CNAMEs are reloaded successfully' )
), true );
}
}