Changeset 2456388
- Timestamp:
- 01/14/2021 03:09:13 PM (5 years ago)
- Location:
- robots-sitemap
- Files:
-
- 26 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from robots-sitemap/trunk)
-
tags/1.2.0/admin/class-admin.php (modified) (2 diffs)
-
tags/1.2.0/admin/views/components/robots.php (modified) (1 diff)
-
tags/1.2.0/core/class-main.php (modified) (6 diffs)
-
tags/1.2.0/core/libs/vo3da-functions.php (modified) (4 diffs)
-
tags/1.2.0/core/robots/class-robots-file.php (modified) (1 diff)
-
tags/1.2.0/core/sitemap/class-sitemap-factory.php (modified) (1 diff)
-
tags/1.2.0/core/sitemap/class-sitemap-file-manager.php (modified) (7 diffs)
-
tags/1.2.0/core/sitemap/class-sitemap-main.php (modified) (1 diff)
-
tags/1.2.0/readme.txt (modified) (2 diffs)
-
tags/1.2.0/robots-sitemap.php (modified) (1 diff)
-
tags/1.2.0/vendor/autoload.php (modified) (1 diff)
-
tags/1.2.0/vendor/composer/autoload_real.php (modified) (3 diffs)
-
tags/1.2.0/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/admin/class-admin.php (modified) (2 diffs)
-
trunk/admin/views/components/robots.php (modified) (1 diff)
-
trunk/core/class-main.php (modified) (6 diffs)
-
trunk/core/libs/vo3da-functions.php (modified) (4 diffs)
-
trunk/core/robots/class-robots-file.php (modified) (1 diff)
-
trunk/core/sitemap/class-sitemap-factory.php (modified) (1 diff)
-
trunk/core/sitemap/class-sitemap-file-manager.php (modified) (7 diffs)
-
trunk/core/sitemap/class-sitemap-main.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/robots-sitemap.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
robots-sitemap/tags/1.2.0/admin/class-admin.php
r2439026 r2456388 108 108 'never' => __( 'Never', 'vo3da-robots-sitemap' ), 109 109 ]; 110 $this->cache_url = WP_CONTENT_DIR . '/ cache/robots-sitemap';110 $this->cache_url = WP_CONTENT_DIR . '/uploads/robots-sitemap'; 111 111 $this->bots_list = [ 'google', 'bing' ]; 112 112 $this->mirrors = Vo3da_Functions::get_mirrors( get_current_blog_id() ); … … 640 640 $robots_options = $this->robots_options; 641 641 $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; 643 643 if ( 0 !== strcmp( $new_data['robots_domain'], '*' ) ) { 644 644 $robots = new Robots_File( $new_data['robots_domain'] ); 645 645 $robots_options[ $new_data['robots_domain'] ] = [ 646 'fake_enable' => $fake_enable,646 'fake_enable' => $fake_enable, 647 647 'disable_robots' => $disable_robots, 648 648 ]; -
robots-sitemap/tags/1.2.0/admin/views/components/robots.php
r2439026 r2456388 19 19 </label> 20 20 <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"> 23 22 <div class="vo3da-checkbox"> 24 23 <input type="checkbox" id="robots_options[disable_robots]" -
robots-sitemap/tags/1.2.0/core/class-main.php
r2439026 r2456388 10 10 11 11 use Robots_Sitemap\Admin\Admin; 12 use Robots_Sitemap\Core\ Db\Sitemap_DB;12 use Robots_Sitemap\Core\Libs\Vo3da_Functions; 13 13 use Robots_Sitemap\Front\Front; 14 14 … … 46 46 47 47 /** 48 * Contains wp-filesystem object. 49 */ 50 private $filesystem; 51 52 /** 48 53 * Main constructor. 49 54 * … … 57 62 'options' => 'custom_sitemap_options', 58 63 'robots_options' => 'vo3da_robots_options', 59 'version' => '1. 0.0',64 'version' => '1.2.0', 60 65 ]; 61 66 … … 65 70 $this->robots_options = $robots_options; 66 71 $this->builder = new Data_Builder( $this->plugin_info, $this->options, $this->robots_options ); 72 $this->filesystem = Vo3da_Functions::WP_Filesystem(); 67 73 $this->set_locale(); 68 74 $this->define_admin_hooks(); 69 75 $this->define_public_hooks(); 70 76 $this->migration(); 77 $this->migration_files(); 71 78 } 72 79 … … 100 107 101 108 /** 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 /** 102 131 * Define the locale for this plugin for internationalization. 103 132 * … … 114 143 } 115 144 116 117 145 } -
robots-sitemap/tags/1.2.0/core/libs/vo3da-functions.php
r2439026 r2456388 13 13 14 14 /** 15 * Path to nginx configs16 */17 if ( ! defined( 'NGINX_DIR' ) ) {18 define( 'NGINX_DIR', ABSPATH . '../nginx/' );19 }20 21 /**22 15 * Path to cache directory 23 16 */ … … 25 18 define( 'CACHE_DIR', WP_CONTENT_DIR . '/cache/' ); 26 19 } 20 27 21 28 22 /** … … 44 38 if ( false === $mirrors ) { 45 39 global $wpdb; 40 // TODO: тут приходит неправильная таблица и зеркала не отдаются 46 41 $domain_mapping_table = wp_cache_get( 'vo3da_domain_mapping_table' ); 47 42 if ( false === $domain_mapping_table ) { … … 74 69 if ( ! empty( $domains ) ) { 75 70 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 ); 79 72 } 80 73 } -
robots-sitemap/tags/1.2.0/core/robots/class-robots-file.php
r2439026 r2456388 40 40 */ 41 41 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() . '/'; 43 44 $this->path = $this->dir . $this->sanitize_domain( $domain ) . '.txt'; 44 $this->filesystem = Vo3da_Functions::WP_Filesystem();45 45 } 46 46 -
robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-factory.php
r2439026 r2456388 45 45 $this->options = $options; 46 46 $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() . '/'; 48 48 } 49 49 -
robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-file-manager.php
r2439026 r2456388 23 23 * @var string 24 24 */ 25 private $ cache_url;25 private $plugin_dir; 26 26 /** 27 27 * News sitemap url … … 47 47 * @var string 48 48 */ 49 private $site_ cache_url;49 private $site_plugin_dir; 50 50 /** 51 51 * Instance of Sitemap_Factory … … 58 58 * Sitemap_Clear constructor. 59 59 * 60 * @param array $options Array of plugin options.60 * @param array $options Array of plugin options. 61 61 * @param Sitemap_DB $sitemap_db Sitemap DB instance. 62 62 */ … … 65 65 66 66 $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'; 70 70 $this->sitemap_db = $sitemap_db; 71 71 $this->sitemap_factory = new Sitemap_Factory( $this->options ); … … 88 88 */ 89 89 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 ); 92 92 } 93 93 } … … 134 134 * 135 135 * @param null $object Sitemap name file. 136 * @param bool $full Is full delete.136 * @param bool $full Is full delete. 137 137 */ 138 138 public function clear( $object = null, $full = false ) { … … 151 151 } 152 152 153 foreach ( glob( rtrim( $this->site_ cache_url, '/' ) . '/*' ) as $folder ) {153 foreach ( glob( rtrim( $this->site_plugin_dir, '/' ) . '/*' ) as $folder ) { 154 154 155 155 if ( 'file' === filetype( $folder ) ) { -
robots-sitemap/tags/1.2.0/core/sitemap/class-sitemap-main.php
r2439026 r2456388 61 61 $url = get_site_url() . '/' . $item['type'] . '.xml'; 62 62 } else { 63 $url = get_site_url() . '/';63 return false; 64 64 } 65 65 $xml = '<sitemap>'; -
robots-sitemap/tags/1.2.0/readme.txt
r2439140 r2456388 4 4 Requires at least: 5.0.0 5 5 Tested up to: 5.6.0 6 Stable tag: 1. 1.06 Stable tag: 1.2.0 7 7 Requires PHP: 5.6.4 8 8 License: GPLv2 or later … … 56 56 == Changelog == 57 57 58 = 1.2.0 (14.01.2021) = 59 * Sitemap and robots files moved to uploads directory 60 * Fixed bugs 61 58 62 = 1.1.0 (14.12.2020) = 59 63 * Support of the subdirectory multisite install -
robots-sitemap/tags/1.2.0/robots-sitemap.php
r2439026 r2456388 10 10 * Plugin URI: / 11 11 * Description: Simply and fast edit your robots.txt and sitemap. 12 * Version: 1. 1.012 * Version: 1.2.0 13 13 * Author: VO3DA Team 14 14 * Author URI: vo3da.tech -
robots-sitemap/tags/1.2.0/vendor/autoload.php
r2439026 r2456388 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997::getLoader();7 return ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba::getLoader(); -
robots-sitemap/tags/1.2.0/vendor/composer/autoload_real.php
r2439026 r2456388 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f879975 class ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 3ab71fd69e320878b11f1589d5f87997::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
robots-sitemap/tags/1.2.0/vendor/composer/autoload_static.php
r2439026 r2456388 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3ab71fd69e320878b11f1589d5f879977 class ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba 8 8 { 9 9 public static $classMap = array ( … … 48 48 { 49 49 return \Closure::bind(function () use ($loader) { 50 $loader->classMap = ComposerStaticInit 3ab71fd69e320878b11f1589d5f87997::$classMap;50 $loader->classMap = ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::$classMap; 51 51 52 52 }, null, ClassLoader::class); -
robots-sitemap/trunk/admin/class-admin.php
r2439026 r2456388 108 108 'never' => __( 'Never', 'vo3da-robots-sitemap' ), 109 109 ]; 110 $this->cache_url = WP_CONTENT_DIR . '/ cache/robots-sitemap';110 $this->cache_url = WP_CONTENT_DIR . '/uploads/robots-sitemap'; 111 111 $this->bots_list = [ 'google', 'bing' ]; 112 112 $this->mirrors = Vo3da_Functions::get_mirrors( get_current_blog_id() ); … … 640 640 $robots_options = $this->robots_options; 641 641 $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; 643 643 if ( 0 !== strcmp( $new_data['robots_domain'], '*' ) ) { 644 644 $robots = new Robots_File( $new_data['robots_domain'] ); 645 645 $robots_options[ $new_data['robots_domain'] ] = [ 646 'fake_enable' => $fake_enable,646 'fake_enable' => $fake_enable, 647 647 'disable_robots' => $disable_robots, 648 648 ]; -
robots-sitemap/trunk/admin/views/components/robots.php
r2439026 r2456388 19 19 </label> 20 20 <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"> 23 22 <div class="vo3da-checkbox"> 24 23 <input type="checkbox" id="robots_options[disable_robots]" -
robots-sitemap/trunk/core/class-main.php
r2439026 r2456388 10 10 11 11 use Robots_Sitemap\Admin\Admin; 12 use Robots_Sitemap\Core\ Db\Sitemap_DB;12 use Robots_Sitemap\Core\Libs\Vo3da_Functions; 13 13 use Robots_Sitemap\Front\Front; 14 14 … … 46 46 47 47 /** 48 * Contains wp-filesystem object. 49 */ 50 private $filesystem; 51 52 /** 48 53 * Main constructor. 49 54 * … … 57 62 'options' => 'custom_sitemap_options', 58 63 'robots_options' => 'vo3da_robots_options', 59 'version' => '1. 0.0',64 'version' => '1.2.0', 60 65 ]; 61 66 … … 65 70 $this->robots_options = $robots_options; 66 71 $this->builder = new Data_Builder( $this->plugin_info, $this->options, $this->robots_options ); 72 $this->filesystem = Vo3da_Functions::WP_Filesystem(); 67 73 $this->set_locale(); 68 74 $this->define_admin_hooks(); 69 75 $this->define_public_hooks(); 70 76 $this->migration(); 77 $this->migration_files(); 71 78 } 72 79 … … 100 107 101 108 /** 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 /** 102 131 * Define the locale for this plugin for internationalization. 103 132 * … … 114 143 } 115 144 116 117 145 } -
robots-sitemap/trunk/core/libs/vo3da-functions.php
r2439026 r2456388 13 13 14 14 /** 15 * Path to nginx configs16 */17 if ( ! defined( 'NGINX_DIR' ) ) {18 define( 'NGINX_DIR', ABSPATH . '../nginx/' );19 }20 21 /**22 15 * Path to cache directory 23 16 */ … … 25 18 define( 'CACHE_DIR', WP_CONTENT_DIR . '/cache/' ); 26 19 } 20 27 21 28 22 /** … … 44 38 if ( false === $mirrors ) { 45 39 global $wpdb; 40 // TODO: тут приходит неправильная таблица и зеркала не отдаются 46 41 $domain_mapping_table = wp_cache_get( 'vo3da_domain_mapping_table' ); 47 42 if ( false === $domain_mapping_table ) { … … 74 69 if ( ! empty( $domains ) ) { 75 70 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 ); 79 72 } 80 73 } -
robots-sitemap/trunk/core/robots/class-robots-file.php
r2439026 r2456388 40 40 */ 41 41 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() . '/'; 43 44 $this->path = $this->dir . $this->sanitize_domain( $domain ) . '.txt'; 44 $this->filesystem = Vo3da_Functions::WP_Filesystem();45 45 } 46 46 -
robots-sitemap/trunk/core/sitemap/class-sitemap-factory.php
r2439026 r2456388 45 45 $this->options = $options; 46 46 $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() . '/'; 48 48 } 49 49 -
robots-sitemap/trunk/core/sitemap/class-sitemap-file-manager.php
r2439026 r2456388 23 23 * @var string 24 24 */ 25 private $ cache_url;25 private $plugin_dir; 26 26 /** 27 27 * News sitemap url … … 47 47 * @var string 48 48 */ 49 private $site_ cache_url;49 private $site_plugin_dir; 50 50 /** 51 51 * Instance of Sitemap_Factory … … 58 58 * Sitemap_Clear constructor. 59 59 * 60 * @param array $options Array of plugin options.60 * @param array $options Array of plugin options. 61 61 * @param Sitemap_DB $sitemap_db Sitemap DB instance. 62 62 */ … … 65 65 66 66 $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'; 70 70 $this->sitemap_db = $sitemap_db; 71 71 $this->sitemap_factory = new Sitemap_Factory( $this->options ); … … 88 88 */ 89 89 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 ); 92 92 } 93 93 } … … 134 134 * 135 135 * @param null $object Sitemap name file. 136 * @param bool $full Is full delete.136 * @param bool $full Is full delete. 137 137 */ 138 138 public function clear( $object = null, $full = false ) { … … 151 151 } 152 152 153 foreach ( glob( rtrim( $this->site_ cache_url, '/' ) . '/*' ) as $folder ) {153 foreach ( glob( rtrim( $this->site_plugin_dir, '/' ) . '/*' ) as $folder ) { 154 154 155 155 if ( 'file' === filetype( $folder ) ) { -
robots-sitemap/trunk/core/sitemap/class-sitemap-main.php
r2439026 r2456388 61 61 $url = get_site_url() . '/' . $item['type'] . '.xml'; 62 62 } else { 63 $url = get_site_url() . '/';63 return false; 64 64 } 65 65 $xml = '<sitemap>'; -
robots-sitemap/trunk/readme.txt
r2439140 r2456388 4 4 Requires at least: 5.0.0 5 5 Tested up to: 5.6.0 6 Stable tag: 1. 1.06 Stable tag: 1.2.0 7 7 Requires PHP: 5.6.4 8 8 License: GPLv2 or later … … 56 56 == Changelog == 57 57 58 = 1.2.0 (14.01.2021) = 59 * Sitemap and robots files moved to uploads directory 60 * Fixed bugs 61 58 62 = 1.1.0 (14.12.2020) = 59 63 * Support of the subdirectory multisite install -
robots-sitemap/trunk/robots-sitemap.php
r2439026 r2456388 10 10 * Plugin URI: / 11 11 * Description: Simply and fast edit your robots.txt and sitemap. 12 * Version: 1. 1.012 * Version: 1.2.0 13 13 * Author: VO3DA Team 14 14 * Author URI: vo3da.tech -
robots-sitemap/trunk/vendor/autoload.php
r2439026 r2456388 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997::getLoader();7 return ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba::getLoader(); -
robots-sitemap/trunk/vendor/composer/autoload_real.php
r2439026 r2456388 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f879975 class ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 3ab71fd69e320878b11f1589d5f87997', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit852b22ad2d807aeba9504f4d5c6bdbba', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 3ab71fd69e320878b11f1589d5f87997::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; -
robots-sitemap/trunk/vendor/composer/autoload_static.php
r2439026 r2456388 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3ab71fd69e320878b11f1589d5f879977 class ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba 8 8 { 9 9 public static $classMap = array ( … … 48 48 { 49 49 return \Closure::bind(function () use ($loader) { 50 $loader->classMap = ComposerStaticInit 3ab71fd69e320878b11f1589d5f87997::$classMap;50 $loader->classMap = ComposerStaticInit852b22ad2d807aeba9504f4d5c6bdbba::$classMap; 51 51 52 52 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.