From 29575332ea89e4e71e5345f7273ceb8e068521b5 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 9 May 2024 10:47:29 +0200 Subject: [PATCH] Update README.md --- README.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 38b3a3f..3de66e0 100644 --- a/README.md +++ b/README.md @@ -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]); @@ -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