예제 #1
0
 /** Initializes all options calling Wordpress functions. */
 function __construct()
 {
     $excl_tmp = get_option('ossdl_off_exclude');
     $excludes = array_map('trim', explode(',', $excl_tmp));
     parent::__construct(get_option('siteurl'), get_option('bapi_site_cdn_domain'), get_option('ossdl_off_include_dirs'), $excludes, !!get_option('ossdl_off_rootrelative'));
 }
예제 #2
0
 /** Initializes all options calling Wordpress functions. */
 function __construct()
 {
     $excl_tmp = '.php';
     $excludes = array_map('trim', explode(',', $excl_tmp));
     parent::__construct(get_option('siteurl'), get_option('bapi_site_cdn_domain'), 'wp-content,wp-includes,,', $excludes, false);
 }