Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
empiricompany authored May 9, 2024
1 parent 8e1b366 commit 2957533
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ Thanks to [@fballiano](https://github.com/fballiano) for his smart idea started
https://github.com/OpenMage/magento-lts/pull/3954

## Installation
The module needs a new event `mage_run_installed_exception` to catch exceptions introduced in OpenMage 20.7.0.

### Patch core files
The module needs a new event `mage_run_installed_exception` to catch exceptions.

Checkout OpenMage 21.0.0-beta1 from __'next' branch in development__ which contains the new event
### Install composer package

```cli
composer require "openmage/magento-lts":"dev-next"
composer require empiricompany/openmage_ignition
```

Or manually patch the file `app/Mage.php` adding new event
---
### Manually patch core files
If you want to manually patch you need to add new event in the file `app/Mage.php`

```php
self::dispatchEvent('mage_run_installed_exception', ['exception' => $e]);
Expand All @@ -37,14 +37,6 @@ self::dispatchEvent('mage_run_installed_exception', ['exception' => $e]);

---

### Install composer package

```cli
composer require empiricompany/openmage_ignition
```

---

## Ignition Settings
In System/Advanced/Developer section

Expand Down

0 comments on commit 2957533

Please sign in to comment.