From 0865687b01328707e8dcb1774555d73394c2399a Mon Sep 17 00:00:00 2001 From: Nikifalex Date: Wed, 31 Mar 2021 18:00:31 +0600 Subject: [PATCH 1/4] added config file for Opencart3 compatibility --- upload/system/config/oc_cli_3.php | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 upload/system/config/oc_cli_3.php diff --git a/upload/system/config/oc_cli_3.php b/upload/system/config/oc_cli_3.php new file mode 100644 index 0000000..ff28e34 --- /dev/null +++ b/upload/system/config/oc_cli_3.php @@ -0,0 +1,54 @@ + array( + 'event/theme' + ), +); + From 4d2d9e1c6c0c74f132cfa5b23f341c69b54ea1bf Mon Sep 17 00:00:00 2001 From: Nikifalex Date: Wed, 31 Mar 2021 18:02:20 +0600 Subject: [PATCH 2/4] opencart 3 cjmpatibility --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b75c1ca..16cbebc 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ System Requirements -------------- - UNIX server (oc_cli has not been tested on Windows yet) - OpenCart 2.2.0.0 to OpenCart 2.3.0.2 +- Opencart 3 - Just remove /system/config/oc_cli.php then rename /system/config/oc_cli_3.php to /system/config/oc_cli.php - Command line access to `php`. You can see if you have it by running `which php` - "cli" PHP Server API (SAPI) From d69b5b3c485b40d65b70d9d992ad3eb053d7d63b Mon Sep 17 00:00:00 2001 From: Nikifalex Date: Tue, 10 Oct 2023 13:14:33 +0600 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16cbebc..216a859 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This extension can help you develop OpenCart controllers which can be run direct System Requirements -------------- - UNIX server (oc_cli has not been tested on Windows yet) -- OpenCart 2.2.0.0 to OpenCart 2.3.0.2 +- OpenCart 2.2.0.0 to OpenCart 3 - Opencart 3 - Just remove /system/config/oc_cli.php then rename /system/config/oc_cli_3.php to /system/config/oc_cli.php - Command line access to `php`. You can see if you have it by running `which php` - "cli" PHP Server API (SAPI) From 93be0017c6a1cbce11fee61ae191aadf12f77856 Mon Sep 17 00:00:00 2001 From: Nikifalex Date: Thu, 22 Aug 2024 11:10:55 +0600 Subject: [PATCH 4/4] Update oc_cli_3.php delete openbay autoload --- upload/system/config/oc_cli_3.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/upload/system/config/oc_cli_3.php b/upload/system/config/oc_cli_3.php index ff28e34..c58d669 100644 --- a/upload/system/config/oc_cli_3.php +++ b/upload/system/config/oc_cli_3.php @@ -27,10 +27,6 @@ $_['template_directory'] = ''; $_['template_cache'] = true; -// Autoload Libraries -$_['library_autoload'] = array( - 'openbay' -); // Actions $_['action_pre_action'] = array(