PATH:
home
/
lab2454c
/
caimegroup.com
/
wp-content
/
plugins
/
mailpoet
/
lib
/
Util
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Util; if (!defined('ABSPATH')) exit; class CdnAssetUrl { const CDN_URL = 'https://ps.w.org/mailpoet/'; /** @var string */ private $baseUrl; public function __construct( string $baseUrl ) { $this->baseUrl = $baseUrl; } public function generateCdnUrl($path) { $useCdn = defined('MAILPOET_USE_CDN') ? MAILPOET_USE_CDN : true; return ($useCdn ? self::CDN_URL : $this->baseUrl . '/plugin_repository/') . "assets/$path"; } }
[-] APIPermissionHelper.php
[edit]
[+]
License
[-] DBCollationChecker.php
[edit]
[-] Cookies.php
[edit]
[-] ProgressBar.php
[edit]
[-] index.php
[edit]
[-] DateConverter.php
[edit]
[+]
..
[-] FreeDomains.php
[edit]
[-] DOM.php
[edit]
[-] Request.php
[edit]
[-] CdnAssetUrl.php
[edit]
[-] Helpers.php
[edit]
[+]
Notices
[-] Installation.php
[edit]
[-] ConflictResolver.php
[edit]
[-] Url.php
[edit]
[-] SecondLevelDomainNames.php
[edit]
[+]
pQuery
[-] Security.php
[edit]