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 | bordoni |
| Plugin | |
| Version | 5.0.3.1 |
| Comparing to | |
| See all releases | |
Code changes from version 5.0.3 to 5.0.3.1
- common/lang/tribe-common-de_DE.mo +0 -0
- common/src/Tribe/Assets.php +14 -9
- common/src/Tribe/Main.php +1 -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_DE.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_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-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-is_IS.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_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-sr_RS.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
- lang/the-events-calendar-zh_TW.mo +0 -0
- readme.txt +5 -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-de_DE.mo
CHANGED
|
Binary file
|
common/src/Tribe/Assets.php
CHANGED
|
@@ -327,19 +327,24 @@ class Tribe__Assets {
|
|
| 327 |
// Strip the plugin URL and make this relative.
|
| 328 |
$relative_location = str_replace( $base_url, '', $url );
|
| 329 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
// If needed add the Min Files.
|
| 331 |
-
if (
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
}
|
| 335 |
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
}
|
| 339 |
}
|
| 340 |
|
| 341 |
-
|
| 342 |
-
|
|
|
|
|
|
|
| 343 |
|
| 344 |
// Check for all Urls added to the array.
|
| 345 |
foreach ( $urls as $partial_path ) {
|
| 327 |
// Strip the plugin URL and make this relative.
|
| 328 |
$relative_location = str_replace( $base_url, '', $url );
|
| 329 |
|
| 330 |
+
if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) {
|
| 331 |
+
// Add the actual url after having the min file added.
|
| 332 |
+
$urls[] = $relative_location;
|
| 333 |
+
}
|
| 334 |
+
|
| 335 |
// If needed add the Min Files.
|
| 336 |
+
if ( substr( $relative_location, -3, 3 ) === '.js' ) {
|
| 337 |
+
$urls[] = substr_replace( $relative_location, '.min', - 3, 0 );
|
| 338 |
+
}
|
|
|
|
| 339 |
|
| 340 |
+
if ( substr( $relative_location, -4, 4 ) === '.css' ) {
|
| 341 |
+
$urls[] = substr_replace( $relative_location, '.min', - 4, 0 );
|
|
|
|
| 342 |
}
|
| 343 |
|
| 344 |
+
if ( ! defined( 'SCRIPT_DEBUG' ) || ( defined( 'SCRIPT_DEBUG' ) && ! SCRIPT_DEBUG ) ) {
|
| 345 |
+
// Add the actual url after having the min file added.
|
| 346 |
+
$urls[] = $relative_location;
|
| 347 |
+
}
|
| 348 |
|
| 349 |
// Check for all Urls added to the array.
|
| 350 |
foreach ( $urls as $partial_path ) {
|
common/src/Tribe/Main.php
CHANGED
|
@@ -17,7 +17,7 @@ class Tribe__Main {
|
|
| 17 |
const OPTIONNAME = 'tribe_events_calendar_options';
|
| 18 |
const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
|
| 19 |
|
| 20 |
-
const VERSION = '4.11.5';
|
| 21 |
|
| 22 |
const FEED_URL = 'https://theeventscalendar.com/feed/';
|
| 23 |
|
| 17 |
const OPTIONNAME = 'tribe_events_calendar_options';
|
| 18 |
const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
|
| 19 |
|
| 20 |
+
const VERSION = '4.11.5.1';
|
| 21 |
|
| 22 |
const FEED_URL = 'https://theeventscalendar.com/feed/';
|
| 23 |
|
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 ComposerAutoloaderInit83b3cb211907599a5674274a47de6513::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 ComposerAutoloaderInit783f9401731263f907f1f1856bb018d1::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 ComposerAutoloaderInit7f462fbe3c65e6574f33afea62c93ee4
|
|
| 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 ComposerAutoloaderInit83b3cb211907599a5674274a47de6513
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit83b3cb211907599a5674274a47de6513', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit83b3cb211907599a5674274a47de6513', '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\ComposerStaticInit83b3cb211907599a5674274a47de6513::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 ComposerAutoloaderInit60d43196c4df62ee1af49084d901f7ca {
|
|
| 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 ComposerAutoloaderInit783f9401731263f907f1f1856bb018d1 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit783f9401731263f907f1f1856bb018d1', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit783f9401731263f907f1f1856bb018d1', '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' =>
|
|
@@ -207,10 +207,10 @@ class ComposerStaticInit7f462fbe3c65e6574f33afea62c93ee4
|
|
| 207 |
public static function getInitializer(ClassLoader $loader)
|
| 208 |
{
|
| 209 |
return \Closure::bind(function () use ($loader) {
|
| 210 |
-
$loader->prefixLengthsPsr4 =
|
| 211 |
-
$loader->prefixDirsPsr4 =
|
| 212 |
-
$loader->prefixesPsr0 =
|
| 213 |
-
$loader->classMap =
|
| 214 |
|
| 215 |
}, null, ClassLoader::class);
|
| 216 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit83b3cb211907599a5674274a47de6513
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 207 |
public static function getInitializer(ClassLoader $loader)
|
| 208 |
{
|
| 209 |
return \Closure::bind(function () use ($loader) {
|
| 210 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit83b3cb211907599a5674274a47de6513::$prefixLengthsPsr4;
|
| 211 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit83b3cb211907599a5674274a47de6513::$prefixDirsPsr4;
|
| 212 |
+
$loader->prefixesPsr0 = ComposerStaticInit83b3cb211907599a5674274a47de6513::$prefixesPsr0;
|
| 213 |
+
$loader->classMap = ComposerStaticInit83b3cb211907599a5674274a47de6513::$classMap;
|
| 214 |
|
| 215 |
}, null, ClassLoader::class);
|
| 216 |
}
|
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_DE.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_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-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-is_IS.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
ADDED
|
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_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-sr_RS.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
|
lang/the-events-calendar-zh_TW.mo
CHANGED
|
Binary file
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Contributors: ModernTribe, borkweb, barry.hughes, bordoni, brianjessee, aguseo,
|
|
| 4 |
Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
|
| 5 |
Donate link: http://m.tri.be/29
|
| 6 |
Requires at least: 4.9
|
| 7 |
-
Stable tag: 5.0.3
|
| 8 |
Tested up to: 5.4
|
| 9 |
Requires PHP: 5.6
|
| 10 |
License: GPLv2 or later
|
|
@@ -220,6 +220,10 @@ Remember to always make a backup of your database and files before updating!
|
|
| 220 |
|
| 221 |
== Changelog ==
|
| 222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
= [5.0.3] 2020-03-23 =
|
| 224 |
|
| 225 |
* Feature - Allow users to set a custom name for new Event Aggregator Imports. [TEC-3286]
|
| 4 |
Tags: events, calendar, event, venue, organizer, dates, date, google maps, conference, workshop, concert, meeting, seminar, summit, class, modern tribe, tribe, widget
|
| 5 |
Donate link: http://m.tri.be/29
|
| 6 |
Requires at least: 4.9
|
| 7 |
+
Stable tag: 5.0.3.1
|
| 8 |
Tested up to: 5.4
|
| 9 |
Requires PHP: 5.6
|
| 10 |
License: GPLv2 or later
|
| 220 |
|
| 221 |
== Changelog ==
|
| 222 |
|
| 223 |
+
= [5.0.3.1] 2020-03-23 =
|
| 224 |
+
|
| 225 |
+
* Fix - Assets class modification to prevent JavaScript and CSS failing to load when `SCRIPT_DEBUG=true` [TCMN-52]
|
| 226 |
+
|
| 227 |
= [5.0.3] 2020-03-23 =
|
| 228 |
|
| 229 |
* Feature - Allow users to set a custom name for new Event Aggregator Imports. [TEC-3286]
|
src/Tribe/Main.php
CHANGED
|
@@ -32,7 +32,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
| 32 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 33 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 34 |
|
| 35 |
-
const VERSION = '5.0.3';
|
| 36 |
|
| 37 |
/**
|
| 38 |
* Min Pro Addon
|
| 32 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 33 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 34 |
|
| 35 |
+
const VERSION = '5.0.3.1';
|
| 36 |
|
| 37 |
/**
|
| 38 |
* 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.0.3
|
| 6 |
* Author: Modern Tribe, Inc.
|
| 7 |
* Author URI: http://m.tri.be/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.0.3.1
|
| 6 |
* Author: Modern Tribe, Inc.
|
| 7 |
* Author URI: http://m.tri.be/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 ComposerAutoloaderInit4267824f1642aa779bf0cde76bda7e5b::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 ComposerAutoloaderInit92a527a93f092328b8358b75ad3baca1
|
|
| 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 ComposerAutoloaderInit4267824f1642aa779bf0cde76bda7e5b
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit4267824f1642aa779bf0cde76bda7e5b', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit4267824f1642aa779bf0cde76bda7e5b', '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\ComposerStaticInit4267824f1642aa779bf0cde76bda7e5b::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' =>
|
|
@@ -245,9 +245,9 @@ class ComposerStaticInit92a527a93f092328b8358b75ad3baca1
|
|
| 245 |
public static function getInitializer(ClassLoader $loader)
|
| 246 |
{
|
| 247 |
return \Closure::bind(function () use ($loader) {
|
| 248 |
-
$loader->prefixLengthsPsr4 =
|
| 249 |
-
$loader->prefixDirsPsr4 =
|
| 250 |
-
$loader->classMap =
|
| 251 |
|
| 252 |
}, null, ClassLoader::class);
|
| 253 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit4267824f1642aa779bf0cde76bda7e5b
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 245 |
public static function getInitializer(ClassLoader $loader)
|
| 246 |
{
|
| 247 |
return \Closure::bind(function () use ($loader) {
|
| 248 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit4267824f1642aa779bf0cde76bda7e5b::$prefixLengthsPsr4;
|
| 249 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit4267824f1642aa779bf0cde76bda7e5b::$prefixDirsPsr4;
|
| 250 |
+
$loader->classMap = ComposerStaticInit4267824f1642aa779bf0cde76bda7e5b::$classMap;
|
| 251 |
|
| 252 |
}, null, ClassLoader::class);
|
| 253 |
}
|
