Plugin Directory

Changeset 2456388


Ignore:
Timestamp:
01/14/2021 03:09:13 PM (5 years ago)
Author:
vo3da
Message:

Commit comments

Location:
robots-sitemap
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • robots-sitemap/tags/1.2.0/admin/class-admin.php

    r2439026 r2456388  
    108108            'never'   => __( 'Never', 'vo3da-robots-sitemap' ),
    109109        ];
    110         $this->cache_url      = WP_CONTENT_DIR . '/cache/robots-sitemap';
     110        $this->cache_url      = WP_CONTENT_DIR . '/uploads/robots-sitemap';
    111111        $this->bots_list      = [ 'google', 'bing' ];
    112112        $this->mirrors        = Vo3da_Functions::get_mirrors( get_current_blog_id() );
     
    640640            $robots_options = $this->robots_options;
    641641            $fake_enable    = $new_data['robots_options']['fake_enable'] ? $new_data['robots_options']['fake_enable'] : 0;
    642             $disable_robots   = $new_data['robots_options']['disable_robots'] ? $new_data['robots_options']['disable_robots'] : 0;
     642            $disable_robots = $new_data['robots_options']['disable_robots'] ? $new_data['robots_options']['disable_robots'] : 0;
    643643            if ( 0 !== strcmp( $new_data['robots_domain'], '*' ) ) {
    644644                $robots                                       = new Robots_File( $new_data['robots_domain'] );
    645645                $robots_options[ $new_data['robots_domain'] ] = [
    646                     'fake_enable' => $fake_enable,
     646                    'fake_enable'    => $fake_enable,
    647647                    'disable_robots' => $disable_robots,
    648648                ];
  • robots-sitemap/tags/1.2.0/admin/views/components/robots.php

    r2439026 r2456388  
    1919        </label>
    2020        <div class="flex flex-wrap mt-15">
    21             <div class="w-30" style="display: none">
    22                 <!-- TODO: remove hide styles from top line after rManager release-->
     21            <div class="w-30">
    2322                <div class="vo3da-checkbox">
    2423                    <input type="checkbox" id="robots_options[disable_robots]"
  • robots-sitemap/tags/1.2.0/core/class-main.php

    r2439026 r2456388  
    1010
    1111use Robots_Sitemap\Admin\Admin;
    12 use Robots_Sitemap\Core\Db\Sitemap_DB;
     12use Robots_Sitemap\Core\Libs\Vo3da_Functions;
    1313use Robots_Sitemap\Front\Front;
    1414
     
    4646
    4747    /**
     48     * Contains wp-filesystem object.
     49     */
     50    private $filesystem;
     51
     52    /**
    4853     * Main constructor.
    4954     *
     
    5762            'options'        => 'custom_sitemap_options',
    5863            'robots_options' => 'vo3da_robots_options',
    59             'version'        => '1.0.0',
     64            'version'        => '1.2.0',
    6065        ];
    6166
     
    6570        $this->robots_options = $robots_options;
    6671        $this->builder        = new Data_Builder( $this->plugin_info, $this->options, $this->robots_options );
     72        $this->filesystem     = Vo3da_Functions::WP_Filesystem();
    6773        $this->set_locale();
    6874        $this->define_admin_hooks();
    6975        $this->define_public_hooks();
    7076        $this->migration();
     77        $this->migration_files();
    7178    }
    7279
     
    100107
    101108    /**
     109     * Migration files to new folders.
     110     */
     111    private function migration_files() {
     112        $path             = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/';
     113        $new_sitemap_path = $path . 'sitemap/';
     114        $new_robots_path  = $path . 'robots/';
     115        $old_sitemap_path = $this->filesystem->wp_content_dir() . 'cache/robots-sitemap/';
     116        $old_robots_path  = $this->filesystem->abspath() . 'robots/';
     117
     118        if ( $this->filesystem->exists( $old_robots_path ) ) {
     119            $this->filesystem->move( $old_robots_path, $new_robots_path );
     120            $this->filesystem->rmdir( $old_robots_path, true );
     121        }
     122
     123        if ( $this->filesystem->exists( $old_sitemap_path ) ) {
     124            $this->filesystem->move( $old_sitemap_path, $new_sitemap_path );
     125            $this->filesystem->rmdir( $old_sitemap_path, true );
     126        }
     127
     128    }
     129
     130    /**
    102131     * Define the locale for this plugin for internationalization.
    103132     *
     
    114143    }
    115144
    116 
    117145}
  • robots-sitemap/tags/1.2.0/core/libs/vo3da-functions.php

    r2439026 r2456388  
    1313
    1414/**
    15  * Path to nginx configs
    16  */
    17 if ( ! defined( 'NGINX_DIR' ) ) {
    18     define( 'NGINX_DIR', ABSPATH . '../nginx/' );
    19 }
    20 
    21 /**
    2215 * Path to cache directory
    2316 */
     
    2518    define( 'CACHE_DIR', WP_CONTENT_DIR . '/cache/' );
    2619}
     20
    2721
    2822/**
     
    4438        if ( false === $mirrors ) {
    4539            global $wpdb;
     40            // TODO: тут приходит неправильная таблица и зеркала не отдаются
    4641            $domain_mapping_table = wp_cache_get( 'vo3da_domain_mapping_table' );
    4742            if ( false === $domain_mapping_table ) {
     
    7469                if ( ! empty( $domains ) ) {
    7570                    foreach ( $domains as $domain ) {
    76                         if ( file_exists( NGINX_DIR . $site_id . '/' . $domain->domain . '.conf' ) ) {
    77                             array_push( $mirrors, $domain->domain );
    78                         }
     71                        array_push( $mirrors, $domain->domain );
    7972                    }
    8073                }
  • robots-sitemap/tags/1.2.0/core/robots/class-robots-file.php

    r2439026 r2456388  
    4040     */
    4141    public function __construct( $domain ) {
    42         $this->dir        = ABSPATH . 'robots/' . get_current_blog_id() . '/';
     42        $this->filesystem = Vo3da_Functions::WP_Filesystem();
     43        $this->dir        = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/robots/' . get_current_blog_id() . '/';
    4344        $this->path       = $this->dir . $this->sanitize_domain( $domain ) . '.txt';
    44         $this->filesystem = Vo3da_Functions::WP_Filesystem();
    4545    }
    4646
  • robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-factory.php

    r2439026 r2456388  
    4545        $this->options          = $options;
    4646        $this->sitemap_db       = new Sitemap_DB( $this->options );
    47         $this->domain_cache_url = WP_CONTENT_DIR . '/cache/robots-sitemap/' . get_current_blog_id() . '/';
     47        $this->domain_cache_url = WP_CONTENT_DIR . '/uploads/robots-sitemap/sitemap/' . get_current_blog_id() . '/';
    4848    }
    4949
  • robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-file-manager.php

    r2439026 r2456388  
    2323     * @var string
    2424     */
    25     private $cache_url;
     25    private $plugin_dir;
    2626    /**
    2727     * News sitemap url
     
    4747     * @var string
    4848     */
    49     private $site_cache_url;
     49    private $site_plugin_dir;
    5050    /**
    5151     * Instance of Sitemap_Factory
     
    5858     * Sitemap_Clear constructor.
    5959     *
    60      * @param array      $options Array of plugin options.
     60     * @param array      $options    Array of plugin options.
    6161     * @param Sitemap_DB $sitemap_db Sitemap DB instance.
    6262     */
     
    6565
    6666        $this->options         = $options;
    67         $this->cache_url       = WP_CONTENT_DIR . '/cache/robots-sitemap/';
    68         $this->site_cache_url  = $this->cache_url . get_current_blog_id() . '/';
    69         $this->news_url        = $this->cache_url . '/sitemap-news.xml';
     67        $this->plugin_dir      = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/';
     68        $this->site_plugin_dir = $this->plugin_dir . '/sitemap/' . get_current_blog_id() . '/';
     69        $this->news_url        = $this->site_plugin_dir . 'sitemap-news.xml';
    7070        $this->sitemap_db      = $sitemap_db;
    7171        $this->sitemap_factory = new Sitemap_Factory( $this->options );
     
    8888     */
    8989    private function create_folders() {
    90         if ( ! $this->filesystem->exists( $this->site_cache_url ) ) {
    91             wp_mkdir_p( $this->site_cache_url );
     90        if ( ! $this->filesystem->exists( $this->site_plugin_dir ) ) {
     91            wp_mkdir_p( $this->site_plugin_dir );
    9292        }
    9393    }
     
    134134     *
    135135     * @param null $object Sitemap name file.
    136      * @param bool $full Is full delete.
     136     * @param bool $full   Is full delete.
    137137     */
    138138    public function clear( $object = null, $full = false ) {
     
    151151        }
    152152
    153         foreach ( glob( rtrim( $this->site_cache_url, '/' ) . '/*' ) as $folder ) {
     153        foreach ( glob( rtrim( $this->site_plugin_dir, '/' ) . '/*' ) as $folder ) {
    154154
    155155            if ( 'file' === filetype( $folder ) ) {
  • robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-main.php

    r2439026 r2456388  
    6161            $url = get_site_url() . '/' . $item['type'] . '.xml';
    6262        } else {
    63             $url = get_site_url() . '/';
     63            return false;
    6464        }
    6565        $xml = '<sitemap>';
  • robots-sitemap/tags/1.2.0/readme.txt

    r2439140 r2456388  
    44Requires at least: 5.0.0
    55Tested up to: 5.6.0
    6 Stable tag: 1.1.0
     6Stable tag: 1.2.0
    77Requires PHP: 5.6.4
    88License: GPLv2 or later
     
    5656== Changelog ==
    5757
     58= 1.2.0 (14.01.2021) =
     59* Sitemap and robots files moved to uploads directory
     60* Fixed bugs
     61
    5862= 1.1.0 (14.12.2020) =
    5963* Support of the subdirectory multisite install
  • robots-sitemap/tags/1.2.0/robots-sitemap.php

    r2439026 r2456388  
    1010 * Plugin URI:          /
    1111 * Description:         Simply and fast edit your robots.txt and sitemap.
    12  * Version:             1.1.0
     12 * Version:             1.2.0
    1313 * Author:              VO3DA Team
    1414 * Author URI:          vo3da.tech
  • robots-sitemap/tags/1.2.0/vendor/autoload.php

    r2439026 r2456388  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997::getLoader();
     7return ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba::getLoader();
  • robots-sitemap/tags/1.2.0/vendor/composer/autoload_real.php

    r2439026 r2456388  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997
     5class ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit3ab71fd69e320878b11f1589d5f87997::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • robots-sitemap/tags/1.2.0/vendor/composer/autoload_static.php

    r2439026 r2456388  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3ab71fd69e320878b11f1589d5f87997
     7class ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba
    88{
    99    public static $classMap = array (
     
    4848    {
    4949        return \Closure::bind(function () use ($loader) {
    50             $loader->classMap = ComposerStaticInit3ab71fd69e320878b11f1589d5f87997::$classMap;
     50            $loader->classMap = ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::$classMap;
    5151
    5252        }, null, ClassLoader::class);
  • robots-sitemap/trunk/admin/class-admin.php

    r2439026 r2456388  
    108108            'never'   => __( 'Never', 'vo3da-robots-sitemap' ),
    109109        ];
    110         $this->cache_url      = WP_CONTENT_DIR . '/cache/robots-sitemap';
     110        $this->cache_url      = WP_CONTENT_DIR . '/uploads/robots-sitemap';
    111111        $this->bots_list      = [ 'google', 'bing' ];
    112112        $this->mirrors        = Vo3da_Functions::get_mirrors( get_current_blog_id() );
     
    640640            $robots_options = $this->robots_options;
    641641            $fake_enable    = $new_data['robots_options']['fake_enable'] ? $new_data['robots_options']['fake_enable'] : 0;
    642             $disable_robots   = $new_data['robots_options']['disable_robots'] ? $new_data['robots_options']['disable_robots'] : 0;
     642            $disable_robots = $new_data['robots_options']['disable_robots'] ? $new_data['robots_options']['disable_robots'] : 0;
    643643            if ( 0 !== strcmp( $new_data['robots_domain'], '*' ) ) {
    644644                $robots                                       = new Robots_File( $new_data['robots_domain'] );
    645645                $robots_options[ $new_data['robots_domain'] ] = [
    646                     'fake_enable' => $fake_enable,
     646                    'fake_enable'    => $fake_enable,
    647647                    'disable_robots' => $disable_robots,
    648648                ];
  • robots-sitemap/trunk/admin/views/components/robots.php

    r2439026 r2456388  
    1919        </label>
    2020        <div class="flex flex-wrap mt-15">
    21             <div class="w-30" style="display: none">
    22                 <!-- TODO: remove hide styles from top line after rManager release-->
     21            <div class="w-30">
    2322                <div class="vo3da-checkbox">
    2423                    <input type="checkbox" id="robots_options[disable_robots]"
  • robots-sitemap/trunk/core/class-main.php

    r2439026 r2456388  
    1010
    1111use Robots_Sitemap\Admin\Admin;
    12 use Robots_Sitemap\Core\Db\Sitemap_DB;
     12use Robots_Sitemap\Core\Libs\Vo3da_Functions;
    1313use Robots_Sitemap\Front\Front;
    1414
     
    4646
    4747    /**
     48     * Contains wp-filesystem object.
     49     */
     50    private $filesystem;
     51
     52    /**
    4853     * Main constructor.
    4954     *
     
    5762            'options'        => 'custom_sitemap_options',
    5863            'robots_options' => 'vo3da_robots_options',
    59             'version'        => '1.0.0',
     64            'version'        => '1.2.0',
    6065        ];
    6166
     
    6570        $this->robots_options = $robots_options;
    6671        $this->builder        = new Data_Builder( $this->plugin_info, $this->options, $this->robots_options );
     72        $this->filesystem     = Vo3da_Functions::WP_Filesystem();
    6773        $this->set_locale();
    6874        $this->define_admin_hooks();
    6975        $this->define_public_hooks();
    7076        $this->migration();
     77        $this->migration_files();
    7178    }
    7279
     
    100107
    101108    /**
     109     * Migration files to new folders.
     110     */
     111    private function migration_files() {
     112        $path             = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/';
     113        $new_sitemap_path = $path . 'sitemap/';
     114        $new_robots_path  = $path . 'robots/';
     115        $old_sitemap_path = $this->filesystem->wp_content_dir() . 'cache/robots-sitemap/';
     116        $old_robots_path  = $this->filesystem->abspath() . 'robots/';
     117
     118        if ( $this->filesystem->exists( $old_robots_path ) ) {
     119            $this->filesystem->move( $old_robots_path, $new_robots_path );
     120            $this->filesystem->rmdir( $old_robots_path, true );
     121        }
     122
     123        if ( $this->filesystem->exists( $old_sitemap_path ) ) {
     124            $this->filesystem->move( $old_sitemap_path, $new_sitemap_path );
     125            $this->filesystem->rmdir( $old_sitemap_path, true );
     126        }
     127
     128    }
     129
     130    /**
    102131     * Define the locale for this plugin for internationalization.
    103132     *
     
    114143    }
    115144
    116 
    117145}
  • robots-sitemap/trunk/core/libs/vo3da-functions.php

    r2439026 r2456388  
    1313
    1414/**
    15  * Path to nginx configs
    16  */
    17 if ( ! defined( 'NGINX_DIR' ) ) {
    18     define( 'NGINX_DIR', ABSPATH . '../nginx/' );
    19 }
    20 
    21 /**
    2215 * Path to cache directory
    2316 */
     
    2518    define( 'CACHE_DIR', WP_CONTENT_DIR . '/cache/' );
    2619}
     20
    2721
    2822/**
     
    4438        if ( false === $mirrors ) {
    4539            global $wpdb;
     40            // TODO: тут приходит неправильная таблица и зеркала не отдаются
    4641            $domain_mapping_table = wp_cache_get( 'vo3da_domain_mapping_table' );
    4742            if ( false === $domain_mapping_table ) {
     
    7469                if ( ! empty( $domains ) ) {
    7570                    foreach ( $domains as $domain ) {
    76                         if ( file_exists( NGINX_DIR . $site_id . '/' . $domain->domain . '.conf' ) ) {
    77                             array_push( $mirrors, $domain->domain );
    78                         }
     71                        array_push( $mirrors, $domain->domain );
    7972                    }
    8073                }
  • robots-sitemap/trunk/core/robots/class-robots-file.php

    r2439026 r2456388  
    4040     */
    4141    public function __construct( $domain ) {
    42         $this->dir        = ABSPATH . 'robots/' . get_current_blog_id() . '/';
     42        $this->filesystem = Vo3da_Functions::WP_Filesystem();
     43        $this->dir        = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/robots/' . get_current_blog_id() . '/';
    4344        $this->path       = $this->dir . $this->sanitize_domain( $domain ) . '.txt';
    44         $this->filesystem = Vo3da_Functions::WP_Filesystem();
    4545    }
    4646
  • robots-sitemap/trunk/core/sitemap/class-sitemap-factory.php

    r2439026 r2456388  
    4545        $this->options          = $options;
    4646        $this->sitemap_db       = new Sitemap_DB( $this->options );
    47         $this->domain_cache_url = WP_CONTENT_DIR . '/cache/robots-sitemap/' . get_current_blog_id() . '/';
     47        $this->domain_cache_url = WP_CONTENT_DIR . '/uploads/robots-sitemap/sitemap/' . get_current_blog_id() . '/';
    4848    }
    4949
  • robots-sitemap/trunk/core/sitemap/class-sitemap-file-manager.php

    r2439026 r2456388  
    2323     * @var string
    2424     */
    25     private $cache_url;
     25    private $plugin_dir;
    2626    /**
    2727     * News sitemap url
     
    4747     * @var string
    4848     */
    49     private $site_cache_url;
     49    private $site_plugin_dir;
    5050    /**
    5151     * Instance of Sitemap_Factory
     
    5858     * Sitemap_Clear constructor.
    5959     *
    60      * @param array      $options Array of plugin options.
     60     * @param array      $options    Array of plugin options.
    6161     * @param Sitemap_DB $sitemap_db Sitemap DB instance.
    6262     */
     
    6565
    6666        $this->options         = $options;
    67         $this->cache_url       = WP_CONTENT_DIR . '/cache/robots-sitemap/';
    68         $this->site_cache_url  = $this->cache_url . get_current_blog_id() . '/';
    69         $this->news_url        = $this->cache_url . '/sitemap-news.xml';
     67        $this->plugin_dir      = $this->filesystem->wp_content_dir() . 'uploads/robots-sitemap/';
     68        $this->site_plugin_dir = $this->plugin_dir . '/sitemap/' . get_current_blog_id() . '/';
     69        $this->news_url        = $this->site_plugin_dir . 'sitemap-news.xml';
    7070        $this->sitemap_db      = $sitemap_db;
    7171        $this->sitemap_factory = new Sitemap_Factory( $this->options );
     
    8888     */
    8989    private function create_folders() {
    90         if ( ! $this->filesystem->exists( $this->site_cache_url ) ) {
    91             wp_mkdir_p( $this->site_cache_url );
     90        if ( ! $this->filesystem->exists( $this->site_plugin_dir ) ) {
     91            wp_mkdir_p( $this->site_plugin_dir );
    9292        }
    9393    }
     
    134134     *
    135135     * @param null $object Sitemap name file.
    136      * @param bool $full Is full delete.
     136     * @param bool $full   Is full delete.
    137137     */
    138138    public function clear( $object = null, $full = false ) {
     
    151151        }
    152152
    153         foreach ( glob( rtrim( $this->site_cache_url, '/' ) . '/*' ) as $folder ) {
     153        foreach ( glob( rtrim( $this->site_plugin_dir, '/' ) . '/*' ) as $folder ) {
    154154
    155155            if ( 'file' === filetype( $folder ) ) {
  • robots-sitemap/trunk/core/sitemap/class-sitemap-main.php

    r2439026 r2456388  
    6161            $url = get_site_url() . '/' . $item['type'] . '.xml';
    6262        } else {
    63             $url = get_site_url() . '/';
     63            return false;
    6464        }
    6565        $xml = '<sitemap>';
  • robots-sitemap/trunk/readme.txt

    r2439140 r2456388  
    44Requires at least: 5.0.0
    55Tested up to: 5.6.0
    6 Stable tag: 1.1.0
     6Stable tag: 1.2.0
    77Requires PHP: 5.6.4
    88License: GPLv2 or later
     
    5656== Changelog ==
    5757
     58= 1.2.0 (14.01.2021) =
     59* Sitemap and robots files moved to uploads directory
     60* Fixed bugs
     61
    5862= 1.1.0 (14.12.2020) =
    5963* Support of the subdirectory multisite install
  • robots-sitemap/trunk/robots-sitemap.php

    r2439026 r2456388  
    1010 * Plugin URI:          /
    1111 * Description:         Simply and fast edit your robots.txt and sitemap.
    12  * Version:             1.1.0
     12 * Version:             1.2.0
    1313 * Author:              VO3DA Team
    1414 * Author URI:          vo3da.tech
  • robots-sitemap/trunk/vendor/autoload.php

    r2439026 r2456388  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997::getLoader();
     7return ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba::getLoader();
  • robots-sitemap/trunk/vendor/composer/autoload_real.php

    r2439026 r2456388  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997
     5class ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit3ab71fd69e320878b11f1589d5f87997::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • robots-sitemap/trunk/vendor/composer/autoload_static.php

    r2439026 r2456388  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3ab71fd69e320878b11f1589d5f87997
     7class ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba
    88{
    99    public static $classMap = array (
     
    4848    {
    4949        return \Closure::bind(function () use ($loader) {
    50             $loader->classMap = ComposerStaticInit3ab71fd69e320878b11f1589d5f87997::$classMap;
     50            $loader->classMap = ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::$classMap;
    5151
    5252        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.