Version Description
= [6.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 6.X add-ons. Remember to always make a backup of your database and files before updating!
Download this release
Release Info
| Developer | bordoni |
| Plugin | |
| Version | 6.0.6.1 |
| Comparing to | |
| See all releases | |
Code changes from version 6.0.6 to 6.0.6.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-bg_BG.mo +0 -0
- lang/the-events-calendar-ca.mo +0 -0
- lang/the-events-calendar-cs_CZ.mo +0 -0
- lang/the-events-calendar-da_DK.mo +0 -0
- lang/the-events-calendar-de_CH.mo +0 -0
- lang/the-events-calendar-de_CH_informal.mo +0 -0
- lang/the-events-calendar-de_DE.mo +0 -0
- lang/the-events-calendar-de_DE_formal.mo +0 -0
- lang/the-events-calendar-el.mo +0 -0
- lang/the-events-calendar-en_AU.mo +0 -0
- lang/the-events-calendar-en_CA.mo +0 -0
- lang/the-events-calendar-en_GB.mo +0 -0
- lang/the-events-calendar-en_NZ.mo +0 -0
- lang/the-events-calendar-en_ZA.mo +0 -0
- lang/the-events-calendar-es_AR.mo +0 -0
- lang/the-events-calendar-es_CO.mo +0 -0
- lang/the-events-calendar-es_DO.mo +0 -0
- lang/the-events-calendar-es_EC.mo +0 -0
- lang/the-events-calendar-es_ES.mo +0 -0
- lang/the-events-calendar-es_MX.mo +0 -0
- lang/the-events-calendar-es_VE.mo +0 -0
- lang/the-events-calendar-et.mo +0 -0
- lang/the-events-calendar-eu.mo +0 -0
- lang/the-events-calendar-fi.mo +0 -0
- lang/the-events-calendar-fr_CA.mo +0 -0
- lang/the-events-calendar-fr_FR.mo +0 -0
- lang/the-events-calendar-gl_ES.mo +0 -0
- lang/the-events-calendar-he_IL.mo +0 -0
- lang/the-events-calendar-hr.mo +0 -0
- lang/the-events-calendar-hu_HU.mo +0 -0
- lang/the-events-calendar-it_IT.mo +0 -0
- lang/the-events-calendar-ja.mo +0 -0
- lang/the-events-calendar-ko_KR.mo +0 -0
- lang/the-events-calendar-lt_LT.mo +0 -0
- lang/the-events-calendar-nb_NO.mo +0 -0
- lang/the-events-calendar-nl_BE.mo +0 -0
- lang/the-events-calendar-nl_NL.mo +0 -0
- lang/the-events-calendar-nn_NO.mo +0 -0
- lang/the-events-calendar-pl_PL.mo +0 -0
- lang/the-events-calendar-pt_BR.mo +0 -0
- lang/the-events-calendar-pt_PT.mo +0 -0
- lang/the-events-calendar-ro_RO.mo +0 -0
- lang/the-events-calendar-ru_RU.mo +0 -0
- lang/the-events-calendar-sk_SK.mo +0 -0
- lang/the-events-calendar-sl_SI.mo +0 -0
- lang/the-events-calendar-sq.mo +0 -0
- lang/the-events-calendar-sv_SE.mo +0 -0
- lang/the-events-calendar-tr_TR.mo +0 -0
- lang/the-events-calendar-uk.mo +0 -0
- lang/the-events-calendar-zh_CN.mo +0 -0
- readme.txt +5 -1
- src/Events/Integrations/Plugins/WordPress_SEO/Events_Schema.php +5 -0
- src/Tribe/Main.php +1 -1
- src/functions/template-tags/general.php +8 -0
- 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/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 ComposerAutoloaderInit7cb5abd24462af04ea333337e6d0e808::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 ComposerAutoloaderInit1761279de0130ec800abdfe8763373c4::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 ComposerAutoloaderInit917314f3938b1aedc49bbc814dabfab1
|
|
| 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 ComposerAutoloaderInit7cb5abd24462af04ea333337e6d0e808
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit7cb5abd24462af04ea333337e6d0e808', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7cb5abd24462af04ea333337e6d0e808', '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\ComposerStaticInit7cb5abd24462af04ea333337e6d0e808::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 ComposerAutoloaderInit191341ac2ee85980a63f448c0658fc22 {
|
|
| 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 ComposerAutoloaderInit1761279de0130ec800abdfe8763373c4 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit1761279de0130ec800abdfe8763373c4', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit1761279de0130ec800abdfe8763373c4', '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' =>
|
|
@@ -274,10 +274,10 @@ class ComposerStaticInit917314f3938b1aedc49bbc814dabfab1
|
|
| 274 |
public static function getInitializer(ClassLoader $loader)
|
| 275 |
{
|
| 276 |
return \Closure::bind(function () use ($loader) {
|
| 277 |
-
$loader->prefixLengthsPsr4 =
|
| 278 |
-
$loader->prefixDirsPsr4 =
|
| 279 |
-
$loader->prefixesPsr0 =
|
| 280 |
-
$loader->classMap =
|
| 281 |
|
| 282 |
}, null, ClassLoader::class);
|
| 283 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit7cb5abd24462af04ea333337e6d0e808
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 274 |
public static function getInitializer(ClassLoader $loader)
|
| 275 |
{
|
| 276 |
return \Closure::bind(function () use ($loader) {
|
| 277 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7cb5abd24462af04ea333337e6d0e808::$prefixLengthsPsr4;
|
| 278 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7cb5abd24462af04ea333337e6d0e808::$prefixDirsPsr4;
|
| 279 |
+
$loader->prefixesPsr0 = ComposerStaticInit7cb5abd24462af04ea333337e6d0e808::$prefixesPsr0;
|
| 280 |
+
$loader->classMap = ComposerStaticInit7cb5abd24462af04ea333337e6d0e808::$classMap;
|
| 281 |
|
| 282 |
}, null, ClassLoader::class);
|
| 283 |
}
|
lang/the-events-calendar-bg_BG.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ca.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-cs_CZ.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-da_DK.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_CH.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_CH_informal.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_DE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_DE_formal.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-el.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_AU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_CA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_GB.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_NZ.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_ZA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_AR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_CO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_DO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_EC.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_ES.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_MX.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_VE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-et.mo
DELETED
|
Binary file
|
lang/the-events-calendar-eu.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fi.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fr_CA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fr_FR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-gl_ES.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-he_IL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-hr.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-hu_HU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-it_IT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ja.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ko_KR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-lt_LT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nb_NO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nl_BE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nl_NL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nn_NO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pl_PL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pt_BR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pt_PT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ro_RO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ru_RU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sk_SK.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sl_SI.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sq.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sv_SE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-tr_TR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-uk.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.8.6
|
| 7 |
-
Stable tag: 6.0.6
|
| 8 |
Tested up to: 6.1.1
|
| 9 |
Requires PHP: 7.3
|
| 10 |
License: GPLv2 or later
|
|
@@ -229,6 +229,10 @@ Remember to always make a backup of your database and files before updating!
|
|
| 229 |
|
| 230 |
== Changelog ==
|
| 231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
= [6.0.6] 2022-12-14 =
|
| 233 |
|
| 234 |
* Fix - Resolved a migration state problem in the view not being handled properly when preview is unsupported and a migration error happens simultaneously. [TEC-4482]
|
| 4 |
Tags: events, calendar, event, schedule, organizer
|
| 5 |
Donate link: https://evnt.is/29
|
| 6 |
Requires at least: 5.8.6
|
| 7 |
+
Stable tag: 6.0.6.1
|
| 8 |
Tested up to: 6.1.1
|
| 9 |
Requires PHP: 7.3
|
| 10 |
License: GPLv2 or later
|
| 229 |
|
| 230 |
== Changelog ==
|
| 231 |
|
| 232 |
+
= [6.0.6.1] 2022-12-14 =
|
| 233 |
+
|
| 234 |
+
* Fix - Avoid fatal error in the `tribe_is_events_front_page` when called before global query object is initialized. [BTRIA-1556]
|
| 235 |
+
|
| 236 |
= [6.0.6] 2022-12-14 =
|
| 237 |
|
| 238 |
* Fix - Resolved a migration state problem in the view not being handled properly when preview is unsupported and a migration error happens simultaneously. [TEC-4482]
|
src/Events/Integrations/Plugins/WordPress_SEO/Events_Schema.php
CHANGED
|
@@ -271,6 +271,11 @@ class Events_Schema extends Abstract_Schema_Piece {
|
|
| 271 |
*/
|
| 272 |
private function get_month_events() {
|
| 273 |
$wp_query = tribe_get_global_query_object();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
$event_date = $wp_query->get( 'eventDate' );
|
| 275 |
|
| 276 |
$month = $event_date;
|
| 271 |
*/
|
| 272 |
private function get_month_events() {
|
| 273 |
$wp_query = tribe_get_global_query_object();
|
| 274 |
+
|
| 275 |
+
if ( ! $wp_query instanceof \WP_Query ) {
|
| 276 |
+
return [];
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
$event_date = $wp_query->get( 'eventDate' );
|
| 280 |
|
| 281 |
$month = $event_date;
|
src/Tribe/Main.php
CHANGED
|
@@ -37,7 +37,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
| 37 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 38 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 39 |
|
| 40 |
-
const VERSION = '6.0.6';
|
| 41 |
|
| 42 |
/**
|
| 43 |
* Min Pro Addon
|
| 37 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 38 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 39 |
|
| 40 |
+
const VERSION = '6.0.6.1';
|
| 41 |
|
| 42 |
/**
|
| 43 |
* Min Pro Addon
|
src/functions/template-tags/general.php
CHANGED
|
@@ -1889,6 +1889,10 @@ function tribe_is_events_front_page() {
|
|
| 1889 |
|
| 1890 |
$wp_query = tribe_get_global_query_object();
|
| 1891 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1892 |
$events_as_front_page = tribe_get_option( 'front_page_event_archive', false );
|
| 1893 |
|
| 1894 |
// If the reading option has an events page as front page and we are on that page is on the home of events.
|
|
@@ -1918,6 +1922,10 @@ function tribe_is_events_home() {
|
|
| 1918 |
|
| 1919 |
$wp_query = tribe_get_global_query_object();
|
| 1920 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1921 |
if ( tribe_is_events_front_page() ) {
|
| 1922 |
return true;
|
| 1923 |
}
|
| 1889 |
|
| 1890 |
$wp_query = tribe_get_global_query_object();
|
| 1891 |
|
| 1892 |
+
if ( ! $wp_query instanceof WP_Query ) {
|
| 1893 |
+
return false;
|
| 1894 |
+
}
|
| 1895 |
+
|
| 1896 |
$events_as_front_page = tribe_get_option( 'front_page_event_archive', false );
|
| 1897 |
|
| 1898 |
// If the reading option has an events page as front page and we are on that page is on the home of events.
|
| 1922 |
|
| 1923 |
$wp_query = tribe_get_global_query_object();
|
| 1924 |
|
| 1925 |
+
if ( ! $wp_query instanceof WP_Query ) {
|
| 1926 |
+
return false;
|
| 1927 |
+
}
|
| 1928 |
+
|
| 1929 |
if ( tribe_is_events_front_page() ) {
|
| 1930 |
return true;
|
| 1931 |
}
|
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: 6.0.6
|
| 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: 6.0.6.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 ComposerAutoloaderInit7a994b715f97876d4c94648a02e4eb3a::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 ComposerAutoloaderInitdcfb3a6946aeb144cba24b61f9cce864
|
|
| 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 ComposerAutoloaderInit7a994b715f97876d4c94648a02e4eb3a
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit7a994b715f97876d4c94648a02e4eb3a', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7a994b715f97876d4c94648a02e4eb3a', '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\ComposerStaticInit7a994b715f97876d4c94648a02e4eb3a::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' =>
|
|
@@ -278,9 +278,9 @@ class ComposerStaticInitdcfb3a6946aeb144cba24b61f9cce864
|
|
| 278 |
public static function getInitializer(ClassLoader $loader)
|
| 279 |
{
|
| 280 |
return \Closure::bind(function () use ($loader) {
|
| 281 |
-
$loader->prefixLengthsPsr4 =
|
| 282 |
-
$loader->prefixDirsPsr4 =
|
| 283 |
-
$loader->classMap =
|
| 284 |
|
| 285 |
}, null, ClassLoader::class);
|
| 286 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit7a994b715f97876d4c94648a02e4eb3a
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 278 |
public static function getInitializer(ClassLoader $loader)
|
| 279 |
{
|
| 280 |
return \Closure::bind(function () use ($loader) {
|
| 281 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7a994b715f97876d4c94648a02e4eb3a::$prefixLengthsPsr4;
|
| 282 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7a994b715f97876d4c94648a02e4eb3a::$prefixDirsPsr4;
|
| 283 |
+
$loader->classMap = ComposerStaticInit7a994b715f97876d4c94648a02e4eb3a::$classMap;
|
| 284 |
|
| 285 |
}, null, ClassLoader::class);
|
| 286 |
}
|
