From ab943729a6d2ef1c600ab85a7126530a69fc026f Mon Sep 17 00:00:00 2001 From: Paolo Date: Tue, 16 Nov 2021 17:40:11 +0100 Subject: [PATCH] Added new CLI controller to install phrases --- .../system/phrases/CLI_Manager.php | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 application/controllers/system/phrases/CLI_Manager.php diff --git a/application/controllers/system/phrases/CLI_Manager.php b/application/controllers/system/phrases/CLI_Manager.php new file mode 100644 index 000000000..560fb9eaf --- /dev/null +++ b/application/controllers/system/phrases/CLI_Manager.php @@ -0,0 +1,26 @@ +load->library('PhrasesLib'); + } + + /** + * + */ + public function installFrom($phrasesDirectoryPath) + { + $this->phraseslib->installFrom(urldecode($phrasesDirectoryPath)); + } +} +