Version Description
= [5.0] =
Please see the changelog for the complete list of changes in this release. Previous versions of The Events Calendar are not cross-compatible with 5.X add-ons. Remember to always make a backup of your database and files before updating!
Download this release
Release Info
| Developer | Camwynsp |
| Plugin | |
| Version | 5.16.1.1 |
| Comparing to | |
| See all releases | |
Code changes from version 5.16.1 to 5.16.1.1
- common/lang/tribe-common.pot +15 -1
- common/src/admin-views/troubleshooting/ea-status.php +8 -1
- common/vendor/autoload.php +1 -1
- common/vendor/autoload_52.php +1 -1
- common/vendor/composer/autoload_real.php +4 -4
- common/vendor/composer/autoload_real_52.php +3 -3
- common/vendor/composer/autoload_static.php +5 -5
- lang/the-events-calendar-de_CH.mo +0 -0
- lang/the-events-calendar-de_DE.mo +0 -0
- lang/the-events-calendar-el.mo +0 -0
- lang/the-events-calendar-es_AR.mo +0 -0
- lang/the-events-calendar-es_ES.mo +0 -0
- lang/the-events-calendar-et.mo +0 -0
- lang/the-events-calendar-fr_FR.mo +0 -0
- lang/the-events-calendar-ja.mo +0 -0
- lang/the-events-calendar-ko_KR.mo +0 -0
- lang/the-events-calendar-ru_RU.mo +0 -0
- lang/the-events-calendar-sv_SE.mo +0 -0
- lang/the-events-calendar-zh_CN.mo +0 -0
- readme.txt +5 -1
- src/Events/Editor/Full_Site/Hooks.php +5 -0
- src/Events/Editor/Full_Site/Templates.php +1 -1
- src/Tribe/Main.php +1 -1
- the-events-calendar.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
common/lang/tribe-common.pot
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
# This file is distributed under the same license as the Tribe Common package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
|
|
|
| 5 |
"Project-Id-Version: Tribe Common 4.15.1\n"
|
| 6 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
| 7 |
"POT-Creation-Date: 2022-05-26 11:32:28+00:00\n"
|
|
@@ -9,6 +10,15 @@ msgstr ""
|
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 11 |
"PO-Revision-Date: 2022-05-26 11:32\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"Last-Translator: \n"
|
| 13 |
"Language-Team: \n"
|
| 14 |
|
|
@@ -58,7 +68,11 @@ msgctxt "Error status label for system info optin"
|
|
| 58 |
msgid "Status:"
|
| 59 |
msgstr ""
|
| 60 |
|
|
|
|
| 61 |
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.15.1) #-#-#-#-#
|
|
|
|
|
|
|
|
|
|
| 62 |
#. Author of the plugin/theme
|
| 63 |
#: src/Tribe/Admin/Help_Page.php:116 src/Tribe/Customizer.php:664
|
| 64 |
#: src/Tribe/Plugins_API.php:25 src/admin-views/help-calendar.php:97
|
|
@@ -3926,7 +3940,7 @@ msgstr ""
|
|
| 3926 |
msgid "Server Connection"
|
| 3927 |
msgstr ""
|
| 3928 |
|
| 3929 |
-
#: src/admin-views/troubleshooting/ea-status.php:
|
| 3930 |
msgid "Event Aggregator system status "
|
| 3931 |
msgstr ""
|
| 3932 |
|
| 2 |
# This file is distributed under the same license as the Tribe Common package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
<<<<<<< HEAD
|
| 6 |
"Project-Id-Version: Tribe Common 4.15.1\n"
|
| 7 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
| 8 |
"POT-Creation-Date: 2022-05-26 11:32:28+00:00\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
"PO-Revision-Date: 2022-05-26 11:32\n"
|
| 13 |
+
=======
|
| 14 |
+
"Project-Id-Version: Tribe Common 4.15.0.1\n"
|
| 15 |
+
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
| 16 |
+
"POT-Creation-Date: 2022-06-08 16:36:31+00:00\n"
|
| 17 |
+
"MIME-Version: 1.0\n"
|
| 18 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 19 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 20 |
+
"PO-Revision-Date: 2022-06-08 16:36\n"
|
| 21 |
+
>>>>>>> f93b76d129a41f3c664d11b7324b2cad001f6d80
|
| 22 |
"Last-Translator: \n"
|
| 23 |
"Language-Team: \n"
|
| 24 |
|
| 68 |
msgid "Status:"
|
| 69 |
msgstr ""
|
| 70 |
|
| 71 |
+
<<<<<<< HEAD
|
| 72 |
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.15.1) #-#-#-#-#
|
| 73 |
+
=======
|
| 74 |
+
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.15.0.1) #-#-#-#-#
|
| 75 |
+
>>>>>>> f93b76d129a41f3c664d11b7324b2cad001f6d80
|
| 76 |
#. Author of the plugin/theme
|
| 77 |
#: src/Tribe/Admin/Help_Page.php:116 src/Tribe/Customizer.php:664
|
| 78 |
#: src/Tribe/Plugins_API.php:25 src/admin-views/help-calendar.php:97
|
| 3940 |
msgid "Server Connection"
|
| 3941 |
msgstr ""
|
| 3942 |
|
| 3943 |
+
#: src/admin-views/troubleshooting/ea-status.php:24
|
| 3944 |
msgid "Event Aggregator system status "
|
| 3945 |
msgstr ""
|
| 3946 |
|
common/src/admin-views/troubleshooting/ea-status.php
CHANGED
|
@@ -2,9 +2,16 @@
|
|
| 2 |
/**
|
| 3 |
* View: Troubleshooting - EA Status Section
|
| 4 |
*
|
| 5 |
-
* @since
|
|
|
|
| 6 |
*
|
|
|
|
| 7 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
$status_icons = [
|
| 9 |
'success' => 'images/help/success-icon.svg',
|
| 10 |
'warning' => 'images/help/warning-icon.svg',
|
| 2 |
/**
|
| 3 |
* View: Troubleshooting - EA Status Section
|
| 4 |
*
|
| 5 |
+
* @since TBD
|
| 6 |
+
* @since TBD Only show if EA is there.
|
| 7 |
*
|
| 8 |
+
* @version TBD
|
| 9 |
*/
|
| 10 |
+
|
| 11 |
+
if ( ! class_exists( 'Tribe__Events__Aggregator' ) ) {
|
| 12 |
+
return;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
$status_icons = [
|
| 16 |
'success' => 'images/help/success-icon.svg',
|
| 17 |
'warning' => 'images/help/warning-icon.svg',
|
common/vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit9d8090657b6815aadc79f9b87c177dd8::getLoader();
|
common/vendor/autoload_52.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit5813f0990cd23de78cdebc426bf1df03::getLoader();
|
common/vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit36add6d681622638ec14b4973a80e965
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
-
call_user_func(\Composer\Autoload\
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit9d8090657b6815aadc79f9b87c177dd8
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit9d8090657b6815aadc79f9b87c177dd8', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9d8090657b6815aadc79f9b87c177dd8', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8::getInitializer($loader));
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
common/vendor/composer/autoload_real_52.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
-
class
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit62f29bb3a31fef27ff36a5257eaa75ee {
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit5813f0990cd23de78cdebc426bf1df03 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit5813f0990cd23de78cdebc426bf1df03', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit5813f0990cd23de78cdebc426bf1df03', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
common/vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
|
@@ -269,10 +269,10 @@ class ComposerStaticInit36add6d681622638ec14b4973a80e965
|
|
| 269 |
public static function getInitializer(ClassLoader $loader)
|
| 270 |
{
|
| 271 |
return \Closure::bind(function () use ($loader) {
|
| 272 |
-
$loader->prefixLengthsPsr4 =
|
| 273 |
-
$loader->prefixDirsPsr4 =
|
| 274 |
-
$loader->prefixesPsr0 =
|
| 275 |
-
$loader->classMap =
|
| 276 |
|
| 277 |
}, null, ClassLoader::class);
|
| 278 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 269 |
public static function getInitializer(ClassLoader $loader)
|
| 270 |
{
|
| 271 |
return \Closure::bind(function () use ($loader) {
|
| 272 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8::$prefixLengthsPsr4;
|
| 273 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8::$prefixDirsPsr4;
|
| 274 |
+
$loader->prefixesPsr0 = ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8::$prefixesPsr0;
|
| 275 |
+
$loader->classMap = ComposerStaticInit9d8090657b6815aadc79f9b87c177dd8::$classMap;
|
| 276 |
|
| 277 |
}, null, ClassLoader::class);
|
| 278 |
}
|
lang/the-events-calendar-de_CH.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_DE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-el.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_AR.mo
ADDED
|
Binary file
|
lang/the-events-calendar-es_ES.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-et.mo
ADDED
|
Binary file
|
lang/the-events-calendar-fr_FR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ja.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ko_KR.mo
ADDED
|
Binary file
|
lang/the-events-calendar-ru_RU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sv_SE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-zh_CN.mo
CHANGED
|
Binary file
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Contributors: theeventscalendar, borkweb, bordoni, brianjessee, aguseo, camwynsp
|
|
| 4 |
Tags: events, calendar, event, schedule, organizer
|
| 5 |
Donate link: https://evnt.is/29
|
| 6 |
Requires at least: 5.6
|
| 7 |
-
Stable tag: 5.16.1
|
| 8 |
Tested up to: 6.0
|
| 9 |
Requires PHP: 7.1
|
| 10 |
License: GPLv2 or later
|
|
@@ -223,6 +223,10 @@ Remember to always make a backup of your database and files before updating!
|
|
| 223 |
|
| 224 |
== Changelog ==
|
| 225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
= [5.16.1] 2022-06-09 =
|
| 227 |
|
| 228 |
* Fix - Add rel="noindex" to links that point to empty Month and Day Views so as to not dilute SEO with empty results. [TEC-4354]
|
| 4 |
Tags: events, calendar, event, schedule, organizer
|
| 5 |
Donate link: https://evnt.is/29
|
| 6 |
Requires at least: 5.6
|
| 7 |
+
Stable tag: 5.16.1.1
|
| 8 |
Tested up to: 6.0
|
| 9 |
Requires PHP: 7.1
|
| 10 |
License: GPLv2 or later
|
| 223 |
|
| 224 |
== Changelog ==
|
| 225 |
|
| 226 |
+
= [5.16.1.1] 2022-06-15 =
|
| 227 |
+
|
| 228 |
+
* Fix - correct issues with template paths when using FSE. [TEC-4401]
|
| 229 |
+
|
| 230 |
= [5.16.1] 2022-06-09 =
|
| 231 |
|
| 232 |
* Fix - Add rel="noindex" to links that point to empty Month and Day Views so as to not dilute SEO with empty results. [TEC-4354]
|
src/Events/Editor/Full_Site/Hooks.php
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
namespace TEC\Events\Editor\Full_Site;
|
| 4 |
|
| 5 |
use Tribe\Events\Editor\Blocks\Archive_Events;
|
|
|
|
| 6 |
|
| 7 |
/**
|
| 8 |
* Class Hooks
|
|
@@ -76,6 +77,10 @@ class Hooks extends \tad_DI52_ServiceProvider {
|
|
| 76 |
return $query_result;
|
| 77 |
}
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
return $this->container->make( Templates::class )->add_events_archive( $query_result, $query, $template_type );
|
| 80 |
}
|
| 81 |
|
| 3 |
namespace TEC\Events\Editor\Full_Site;
|
| 4 |
|
| 5 |
use Tribe\Events\Editor\Blocks\Archive_Events;
|
| 6 |
+
use Tribe__Events__Main;
|
| 7 |
|
| 8 |
/**
|
| 9 |
* Class Hooks
|
| 77 |
return $query_result;
|
| 78 |
}
|
| 79 |
|
| 80 |
+
if ( is_singular( Tribe__Events__Main::POSTTYPE ) ) {
|
| 81 |
+
return $query_result;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
return $this->container->make( Templates::class )->add_events_archive( $query_result, $query, $template_type );
|
| 85 |
}
|
| 86 |
|
src/Events/Editor/Full_Site/Templates.php
CHANGED
|
@@ -73,7 +73,7 @@ class Templates {
|
|
| 73 |
*/
|
| 74 |
public function get_template_events_archive() {
|
| 75 |
$template_content = file_get_contents(
|
| 76 |
-
|
| 77 |
);
|
| 78 |
|
| 79 |
$template = new WP_Block_Template();
|
| 73 |
*/
|
| 74 |
public function get_template_events_archive() {
|
| 75 |
$template_content = file_get_contents(
|
| 76 |
+
Tribe__Events__Main::instance()->plugin_path . '/src/Events/Editor/Full_Site/Templates/archive-events.html'
|
| 77 |
);
|
| 78 |
|
| 79 |
$template = new WP_Block_Template();
|
src/Tribe/Main.php
CHANGED
|
@@ -33,7 +33,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
| 33 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 34 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 35 |
|
| 36 |
-
const VERSION = '5.16.1';
|
| 37 |
|
| 38 |
/**
|
| 39 |
* Min Pro Addon
|
| 33 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 34 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 35 |
|
| 36 |
+
const VERSION = '5.16.1.1';
|
| 37 |
|
| 38 |
/**
|
| 39 |
* Min Pro Addon
|
the-events-calendar.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: The Events Calendar
|
| 4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
| 5 |
-
* Version: 5.16.1
|
| 6 |
* Author: The Events Calendar
|
| 7 |
* Author URI: https://evnt.is/1x
|
| 8 |
* Text Domain: the-events-calendar
|
| 2 |
/**
|
| 3 |
* Plugin Name: The Events Calendar
|
| 4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
| 5 |
+
* Version: 5.16.1.1
|
| 6 |
* Author: The Events Calendar
|
| 7 |
* Author URI: https://evnt.is/1x
|
| 8 |
* Text Domain: the-events-calendar
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit35348d3bc4b424a0cb12db7948543226::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit274b5f1a860eb5d01ef362ffb4712ca6
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
-
call_user_func(\Composer\Autoload\
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit35348d3bc4b424a0cb12db7948543226
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit35348d3bc4b424a0cb12db7948543226', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit35348d3bc4b424a0cb12db7948543226', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit35348d3bc4b424a0cb12db7948543226::getInitializer($loader));
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
|
@@ -155,9 +155,9 @@ class ComposerStaticInit274b5f1a860eb5d01ef362ffb4712ca6
|
|
| 155 |
public static function getInitializer(ClassLoader $loader)
|
| 156 |
{
|
| 157 |
return \Closure::bind(function () use ($loader) {
|
| 158 |
-
$loader->prefixLengthsPsr4 =
|
| 159 |
-
$loader->prefixDirsPsr4 =
|
| 160 |
-
$loader->classMap =
|
| 161 |
|
| 162 |
}, null, ClassLoader::class);
|
| 163 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit35348d3bc4b424a0cb12db7948543226
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 155 |
public static function getInitializer(ClassLoader $loader)
|
| 156 |
{
|
| 157 |
return \Closure::bind(function () use ($loader) {
|
| 158 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit35348d3bc4b424a0cb12db7948543226::$prefixLengthsPsr4;
|
| 159 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit35348d3bc4b424a0cb12db7948543226::$prefixDirsPsr4;
|
| 160 |
+
$loader->classMap = ComposerStaticInit35348d3bc4b424a0cb12db7948543226::$classMap;
|
| 161 |
|
| 162 |
}, null, ClassLoader::class);
|
| 163 |
}
|
