diff --git a/README.md b/README.md index b036bc2..ebf77b3 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Display the daily scripture from [https://git.vdm.dev/christian/daily-scripture] + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Name*: [Dailyscripture](https://getbible.net) + *First Build*: 3rd December, 2015 -+ *Last Build*: 4th December, 2023 ++ *Last Build*: 23rd December, 2023 + *Version*: 1.2.1 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html diff --git a/mod_dailyscripture.xml b/mod_dailyscripture.xml index db35959..c4723da 100644 --- a/mod_dailyscripture.xml +++ b/mod_dailyscripture.xml @@ -1,7 +1,7 @@ MOD_DAILYSCRIPTURE - 4th December, 2023 + 23rd December, 2023 Llewellyn van der Merwe joomla@vdm.io https://getbible.net diff --git a/script.php b/script.php index eeeebed..5869586 100644 --- a/script.php +++ b/script.php @@ -18,6 +18,11 @@ // No direct access to this file defined('_JEXEC') or die('Restricted access'); +use Joomla\CMS\Factory; +use Joomla\CMS\Language\Text; +use Joomla\CMS\Filesystem\File; +use Joomla\CMS\Filesystem\Folder; + /** * Dailyscripture script file. * @@ -37,7 +42,7 @@ class mod_DailyScriptureInstallerScript public function preflight($route, $adapter) { // get application - $app = JFactory::getApplication(); + $app = Factory::getApplication(); // the default for both install and update $jversion = new JVersion();