daily-scripture-module/mod_dailyscripture.php

32 lines
1.3 KiB
PHP
Raw Normal View History

2022-01-04 15:41:07 +00:00
<?php
2023-07-26 09:21:40 +00:00
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
Vast Development Method
/-------------------------------------------------------------------------------------------------------/
2022-01-04 15:41:07 +00:00
2023-07-26 09:21:40 +00:00
@package getBible.net
2022-01-04 15:41:07 +00:00
2023-07-26 09:21:40 +00:00
@created 3rd December, 2015
@author Llewellyn van der Merwe <https://getbible.net>
@git Get Bible <https://git.vdm.dev/getBible>
@github Get Bible <https://github.com/getBible>
@support Get Bible <https://git.vdm.dev/getBible/support>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
2022-01-04 15:41:07 +00:00
2023-07-26 09:21:40 +00:00
/------------------------------------------------------------------------------------------------------*/
2022-01-04 15:41:07 +00:00
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// Include the helper functions only once
JLoader::register('ModDailyScriptureHelper', __DIR__ . '/helper.php');
// get the daily scripture
$today = new ModDailyScriptureHelper($params);
// get the module class sfx (local)
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8');
// load the default Tmpl
require JModuleHelper::getLayoutPath('mod_dailyscripture', $params->get('layout', 'default'));