Skip to content

Commit

Permalink
Fix for classes not loading on case sensitive environments
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed Oct 11, 2018
1 parent 17ab54c commit 3b789dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Commerce Widgets Changelog

## 2.0.5 - 2018-10-11
### Fixed
- Fix for classes not loading on case sensitive environments

## 2.0.4 - 2018-10-10
### Changed
- License from MIT to Craft
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bymayo/commerce-widgets",
"description": "Insightful dashboard widgets for your Craft Commerce 2 store.",
"type": "craft-plugin",
"version": "2.0.4",
"version": "2.0.5",
"keywords": [
"craft",
"cms",
Expand Down
12 changes: 6 additions & 6 deletions src/CommerceWidgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ public function init()
Dashboard::EVENT_REGISTER_WIDGET_TYPES,
function (RegisterComponentTypesEvent $event) {

$event->types[] = Widgets\RecentProducts::class;
$event->types[] = Widgets\CartAbandonment::class;
$event->types[] = Widgets\TotalRevenueOrders::class;
$event->types[] = Widgets\TopCustomers::class;
$event->types[] = Widgets\Goal::class;
$event->types[] = Widgets\SubscriptionPlans::class;
$event->types[] = \bymayo\commercewidgets\widgets\RecentProducts::class;
$event->types[] = \bymayo\commercewidgets\widgets\CartAbandonment::class;
$event->types[] = \bymayo\commercewidgets\widgets\TotalRevenueOrders::class;
$event->types[] = \bymayo\commercewidgets\widgets\TopCustomers::class;
$event->types[] = \bymayo\commercewidgets\widgets\Goal::class;
$event->types[] = \bymayo\commercewidgets\widgets\SubscriptionPlans::class;

}
);
Expand Down

0 comments on commit 3b789dd

Please sign in to comment.