Version Description
Download this release
Release Info
Developer | tareq1988 |
Plugin | Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy |
Version | 3.3.6 |
Comparing to | |
See all releases |
Code changes from version 3.3.5 to 3.3.6
- dokan.php +2 -2
- includes/Commission.php +6 -7
- includes/Order/Hooks.php +43 -0
- includes/ThemeSupport/Storefront.php +11 -4
- includes/Vendor/SetupWizard.php +1 -1
- languages/dokan-lite.pot +15 -14
- readme.txt +9 -2
- templates/orders/details.php +1 -1
- templates/whats-new.php +24 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
dokan.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
-
* Version: 3.3.
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
|
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
-
public $version = '3.3.
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
+
* Version: 3.3.6
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
+
public $version = '3.3.6';
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
includes/Commission.php
CHANGED
@@ -117,17 +117,16 @@ class Commission {
|
|
117 |
*
|
118 |
* @return array
|
119 |
*/
|
120 |
-
public function hide_extra_data( $
|
121 |
-
$meta_to_hide
|
122 |
-
$meta_to_return = [];
|
123 |
|
124 |
-
foreach ( $
|
125 |
-
if (
|
126 |
-
|
127 |
}
|
128 |
}
|
129 |
|
130 |
-
return $
|
131 |
}
|
132 |
|
133 |
/**
|
117 |
*
|
118 |
* @return array
|
119 |
*/
|
120 |
+
public function hide_extra_data( $formatted_meta ) {
|
121 |
+
$meta_to_hide = [ '_dokan_commission_rate', '_dokan_commission_type', '_dokan_additional_fee' ];
|
|
|
122 |
|
123 |
+
foreach ( $formatted_meta as $key => $meta ) {
|
124 |
+
if ( in_array( $meta->key, $meta_to_hide, true ) ) {
|
125 |
+
unset( $formatted_meta[ $key ] );
|
126 |
}
|
127 |
}
|
128 |
|
129 |
+
return $formatted_meta;
|
130 |
}
|
131 |
|
132 |
/**
|
includes/Order/Hooks.php
CHANGED
@@ -55,10 +55,53 @@ class Hooks {
|
|
55 |
// remove customer info from order export based on setting
|
56 |
add_filter( 'dokan_csv_export_headers', [ $this, 'hide_customer_info_from_vendor_order_export' ], 20, 1 );
|
57 |
|
|
|
|
|
|
|
|
|
58 |
// Init Order Cache Class
|
59 |
new OrderCache();
|
60 |
}
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
/**
|
63 |
* Update the child order status when a parent order status is changed
|
64 |
*
|
55 |
// remove customer info from order export based on setting
|
56 |
add_filter( 'dokan_csv_export_headers', [ $this, 'hide_customer_info_from_vendor_order_export' ], 20, 1 );
|
57 |
|
58 |
+
// Change order meta key and value.
|
59 |
+
add_filter( 'woocommerce_order_item_display_meta_key', [ $this, 'change_order_item_display_meta_key' ] );
|
60 |
+
add_filter( 'woocommerce_order_item_display_meta_value', [ $this, 'change_order_item_display_meta_value' ], 10, 2 );
|
61 |
+
|
62 |
// Init Order Cache Class
|
63 |
new OrderCache();
|
64 |
}
|
65 |
|
66 |
+
/**
|
67 |
+
* Change order item display meta key.
|
68 |
+
*
|
69 |
+
* @since DOKAN_SINCE
|
70 |
+
*
|
71 |
+
* @param $display_key
|
72 |
+
*
|
73 |
+
* @return void
|
74 |
+
*/
|
75 |
+
public function change_order_item_display_meta_key( $display_key ) {
|
76 |
+
if ( 'seller_id' === $display_key ) {
|
77 |
+
return __( 'Vendor', 'dokan-lite' );
|
78 |
+
}
|
79 |
+
return $display_key;
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Change order item display meta value.
|
84 |
+
*
|
85 |
+
* @since DOKAN_SINCE
|
86 |
+
*
|
87 |
+
* @param $display_value
|
88 |
+
* @param $meta
|
89 |
+
*
|
90 |
+
* @return mixed
|
91 |
+
*/
|
92 |
+
public function change_order_item_display_meta_value( $display_value, $meta ) {
|
93 |
+
if ( 'seller_id' === $meta->key ) {
|
94 |
+
$vendor = dokan()->vendor->get( $display_value );
|
95 |
+
$url = get_edit_user_link( $display_value );
|
96 |
+
if ( function_exists( 'dokan_pro' ) ) {
|
97 |
+
$url = admin_url( 'admin.php?page=dokan#/vendors/' . $display_value );
|
98 |
+
}
|
99 |
+
|
100 |
+
return '<a href=' . esc_url( $url ) . " '>" . $vendor->get_shop_name() . '</a>';
|
101 |
+
}
|
102 |
+
return $display_value;
|
103 |
+
}
|
104 |
+
|
105 |
/**
|
106 |
* Update the child order status when a parent order status is changed
|
107 |
*
|
includes/ThemeSupport/Storefront.php
CHANGED
@@ -56,12 +56,19 @@ class Storefront {
|
|
56 |
* @return void
|
57 |
*/
|
58 |
public function reset_style() {
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
65 |
|
66 |
wp_add_inline_style( 'dokan-style', $style );
|
67 |
}
|
56 |
* @return void
|
57 |
*/
|
58 |
public function reset_style() {
|
59 |
+
$style = '';
|
60 |
+
|
61 |
+
// Check if the current page is dokan vendor dashboard page
|
62 |
+
if ( dokan_is_seller_dashboard() ) {
|
63 |
+
// Styles to fix date range picker js broken layout issue
|
64 |
+
$style .= '.daterangepicker .calendar-table td, .daterangepicker .calendar-table th { padding: 5px 10px; } .daterangepicker td.in-range { background-color: #ebf4f8 !important; } .daterangepicker td.active, .daterangepicker td.active:hover { background-color: #357ebd !important; }';
|
65 |
}
|
66 |
|
67 |
+
// Check if the current page is dokan store listing page.
|
68 |
+
if ( dokan_is_store_listing() ) {
|
69 |
+
$style .= '#dokan-seller-listing-wrap .store-content .store-data-container .store-data h2 a {text-decoration: none}';
|
70 |
+
$style .= '#dokan-seller-listing-wrap .store-content .store-data-container .store-data h2 {font-size: 24px; margin: 20px 0 10px 0}';
|
71 |
+
}
|
72 |
|
73 |
wp_add_inline_style( 'dokan-style', $style );
|
74 |
}
|
includes/Vendor/SetupWizard.php
CHANGED
@@ -118,7 +118,7 @@ class SetupWizard extends DokanSetupWizard {
|
|
118 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
119 |
<title><?php esc_attr_e( 'Vendor › Setup Wizard', 'dokan-lite' ); ?></title>
|
120 |
<?php wp_print_scripts( 'wc-setup' ); ?>
|
121 |
-
<?php
|
122 |
<?php do_action( 'dokan_setup_wizard_styles' ); ?>
|
123 |
</head>
|
124 |
<body class="wc-setup wp-core-ui dokan-vendor-setup-wizard">
|
118 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
119 |
<title><?php esc_attr_e( 'Vendor › Setup Wizard', 'dokan-lite' ); ?></title>
|
120 |
<?php wp_print_scripts( 'wc-setup' ); ?>
|
121 |
+
<?php wp_print_styles(); ?>
|
122 |
<?php do_action( 'dokan_setup_wizard_styles' ); ?>
|
123 |
</head>
|
124 |
<body class="wc-setup wp-core-ui dokan-vendor-setup-wizard">
|
languages/dokan-lite.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Dokan 3.3.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
14 |
"Language: en\n"
|
@@ -152,9 +152,10 @@ msgstr ""
|
|
152 |
#: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
|
153 |
#: includes/Admin/Settings.php:423 includes/Admin/Settings.php:434
|
154 |
#: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:108
|
155 |
-
#: includes/
|
156 |
-
#: includes/wc-template.php:
|
157 |
-
#: src/admin/pages/Dashboard.vue:
|
|
|
158 |
msgid "Vendor"
|
159 |
msgstr ""
|
160 |
|
@@ -1808,11 +1809,11 @@ msgstr ""
|
|
1808 |
msgid "Payment gateway processing fee %s"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
-
#: includes/Commission.php:
|
1812 |
msgid "Product not found"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
-
#: includes/Commission.php:
|
1816 |
msgid "Order not found"
|
1817 |
msgstr ""
|
1818 |
|
@@ -2433,24 +2434,24 @@ msgstr ""
|
|
2433 |
msgid "Store List"
|
2434 |
msgstr ""
|
2435 |
|
2436 |
-
#: includes/Order/Hooks.php:
|
2437 |
msgid "Mark parent order completed when all child orders are completed."
|
2438 |
msgstr ""
|
2439 |
|
2440 |
-
#: includes/Order/Hooks.php:
|
2441 |
msgid "This coupon is invalid for multiple vendors."
|
2442 |
msgstr ""
|
2443 |
|
2444 |
-
#: includes/Order/Hooks.php:
|
2445 |
msgid "A coupon must be restricted with a vendor product."
|
2446 |
msgstr ""
|
2447 |
|
2448 |
-
#: includes/Order/Hooks.php:
|
2449 |
#. translators: %s item name.
|
2450 |
msgid "Unable to restore stock for item %s."
|
2451 |
msgstr ""
|
2452 |
|
2453 |
-
#: includes/Order/Hooks.php:
|
2454 |
msgid "Stock levels reduced:"
|
2455 |
msgstr ""
|
2456 |
|
1 |
+
# Copyright (C) 2022 weDevs
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Dokan 3.3.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2022-01-10 08:02:06+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
14 |
"Language: en\n"
|
152 |
#: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
|
153 |
#: includes/Admin/Settings.php:423 includes/Admin/Settings.php:434
|
154 |
#: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:108
|
155 |
+
#: includes/Order/Hooks.php:77 includes/wc-template.php:17
|
156 |
+
#: includes/wc-template.php:167 includes/wc-template.php:316
|
157 |
+
#: src/admin/pages/Dashboard.vue:38 src/admin/pages/Dashboard.vue:47
|
158 |
+
#: templates/my-orders.php:31
|
159 |
msgid "Vendor"
|
160 |
msgstr ""
|
161 |
|
1809 |
msgid "Payment gateway processing fee %s"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: includes/Commission.php:197
|
1813 |
msgid "Product not found"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: includes/Commission.php:225
|
1817 |
msgid "Order not found"
|
1818 |
msgstr ""
|
1819 |
|
2434 |
msgid "Store List"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
+
#: includes/Order/Hooks.php:300
|
2438 |
msgid "Mark parent order completed when all child orders are completed."
|
2439 |
msgstr ""
|
2440 |
|
2441 |
+
#: includes/Order/Hooks.php:348
|
2442 |
msgid "This coupon is invalid for multiple vendors."
|
2443 |
msgstr ""
|
2444 |
|
2445 |
+
#: includes/Order/Hooks.php:362
|
2446 |
msgid "A coupon must be restricted with a vendor product."
|
2447 |
msgstr ""
|
2448 |
|
2449 |
+
#: includes/Order/Hooks.php:414
|
2450 |
#. translators: %s item name.
|
2451 |
msgid "Unable to restore stock for item %s."
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: includes/Order/Hooks.php:491 includes/Order/Hooks.php:510
|
2455 |
msgid "Stock levels reduced:"
|
2456 |
msgstr ""
|
2457 |
|
readme.txt
CHANGED
@@ -3,11 +3,11 @@ Contributors: tareq1988, wedevs, nizamuddinbabu
|
|
3 |
Donate Link: http://tareq.co/donate/
|
4 |
Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 5.8.
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 6.0.0
|
9 |
Requires PHP: 5.6
|
10 |
-
Stable tag: 3.3.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -306,6 +306,13 @@ A. Just install and activate the PRO version without deleting the free plugin. A
|
|
306 |
|
307 |
== Changelog ==
|
308 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
= v3.3.5 ( Dec 23, 2021 ) =
|
310 |
|
311 |
- **fix:** Fatal error while creating new vendor.
|
3 |
Donate Link: http://tareq.co/donate/
|
4 |
Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.8.3
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 6.0.0
|
9 |
Requires PHP: 5.6
|
10 |
+
Stable tag: 3.3.6
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
306 |
|
307 |
== Changelog ==
|
308 |
|
309 |
+
= v3.3.6 ( Jan 10, 2022 ) =
|
310 |
+
|
311 |
+
- **fix:** css class added for styling order details page #1468
|
312 |
+
- **fix:** Item meta is not being deleted from the order details page of the WordPress dashboard #1458
|
313 |
+
- **fix:** Showing Vendor or Store Name on the order details page of WooCommerce #1456
|
314 |
+
- **fix:** Conflict with Siteground optimizer plugin #1474
|
315 |
+
|
316 |
= v3.3.5 ( Dec 23, 2021 ) =
|
317 |
|
318 |
- **fix:** Fatal error while creating new vendor.
|
templates/orders/details.php
CHANGED
@@ -13,7 +13,7 @@ $order = new WC_Order( $order_id );
|
|
13 |
$hide_customer_info = dokan_get_option( 'hide_customer_info', 'dokan_selling', 'off' );
|
14 |
$customer_ip = get_post_meta( $order->get_id(), '_customer_ip_address', true );
|
15 |
?>
|
16 |
-
<div class="dokan-clearfix">
|
17 |
<div class="dokan-w8 dokan-order-left-content">
|
18 |
|
19 |
<div class="dokan-clearfix">
|
13 |
$hide_customer_info = dokan_get_option( 'hide_customer_info', 'dokan_selling', 'off' );
|
14 |
$customer_ip = get_post_meta( $order->get_id(), '_customer_ip_address', true );
|
15 |
?>
|
16 |
+
<div class="dokan-clearfix dokan-order-details-wrap">
|
17 |
<div class="dokan-w8 dokan-order-left-content">
|
18 |
|
19 |
<div class="dokan-clearfix">
|
templates/whats-new.php
CHANGED
@@ -3,6 +3,30 @@
|
|
3 |
* When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
|
4 |
*/
|
5 |
$changelog = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
[
|
7 |
'version' => 'Version 3.3.5',
|
8 |
'released' => '2021-12-15',
|
3 |
* When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
|
4 |
*/
|
5 |
$changelog = [
|
6 |
+
[
|
7 |
+
'version' => 'Version 3.3.6',
|
8 |
+
'released' => '2022-01-10',
|
9 |
+
'changes' => [
|
10 |
+
'Fix' => [
|
11 |
+
[
|
12 |
+
'title' => 'CSS class added for styling order details page.',
|
13 |
+
'description' => '',
|
14 |
+
],
|
15 |
+
[
|
16 |
+
'title' => 'Item meta is not being deleted from the order details page of the WordPress dashboard.',
|
17 |
+
'description' => '',
|
18 |
+
],
|
19 |
+
[
|
20 |
+
'title' => 'Showing Vendor Name instead of vendor id on the order details page of WooCommerce.',
|
21 |
+
'description' => '',
|
22 |
+
],
|
23 |
+
[
|
24 |
+
'title' => 'Fixed conflict with Siteground Optimizer plugin.',
|
25 |
+
'description' => '',
|
26 |
+
],
|
27 |
+
],
|
28 |
+
],
|
29 |
+
],
|
30 |
[
|
31 |
'version' => 'Version 3.3.5',
|
32 |
'released' => '2021-12-15',
|
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 ComposerAutoloaderInit9c5bdb3472c88b8b0277eb019d403ef2::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 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitd3f12cd5842b5f9e088eb87a0cc6457b
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
-
call_user_func(\Composer\Autoload\
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
@@ -53,19 +53,19 @@ class ComposerAutoloaderInitd3f12cd5842b5f9e088eb87a0cc6457b
|
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
-
$includeFiles = Composer\Autoload\
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
-
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
-
function
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit9c5bdb3472c88b8b0277eb019d403ef2
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit9c5bdb3472c88b8b0277eb019d403ef2', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9c5bdb3472c88b8b0277eb019d403ef2', 'loadClassLoader'));
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequire9c5bdb3472c88b8b0277eb019d403ef2($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
function composerRequire9c5bdb3472c88b8b0277eb019d403ef2($fileIdentifier, $file)
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
|
@@ -202,9 +202,9 @@ class ComposerStaticInitd3f12cd5842b5f9e088eb87a0cc6457b
|
|
202 |
public static function getInitializer(ClassLoader $loader)
|
203 |
{
|
204 |
return \Closure::bind(function () use ($loader) {
|
205 |
-
$loader->prefixLengthsPsr4 =
|
206 |
-
$loader->prefixDirsPsr4 =
|
207 |
-
$loader->classMap =
|
208 |
|
209 |
}, null, ClassLoader::class);
|
210 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
|
202 |
public static function getInitializer(ClassLoader $loader)
|
203 |
{
|
204 |
return \Closure::bind(function () use ($loader) {
|
205 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2::$prefixLengthsPsr4;
|
206 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2::$prefixDirsPsr4;
|
207 |
+
$loader->classMap = ComposerStaticInit9c5bdb3472c88b8b0277eb019d403ef2::$classMap;
|
208 |
|
209 |
}, null, ClassLoader::class);
|
210 |
}
|