-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_bitcoinfaucet.php
29 lines (25 loc) · 1017 Bytes
/
mod_bitcoinfaucet.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Bitcoin Faucet ! Module Entry Point
*
* @package Joomla.Tutorials
* @subpackage Modules
* @license GNU/GPL, see LICENSE.php
* @link http://docs.joomla.org/J3.x:Creating_a_simple_module/Developing_a_Basic_Module
* mod_helloworld is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
// No direct access
defined('_JEXEC') or die;
// Include the syndicate functions only once
require_once dirname(__FILE__) . '/helper.php';
/**
* This retrieves the lang parameter we stored earlier. Note the second part
* which states to use the default value of 1 if the parameter cannot be
* retrieved for some reason
**/
$language = $params->get('lang', '1');
$BitcoinFaucet = ModBitcoinFaucet::getBitcoinFaucet($language);
require JModuleHelper::getLayoutPath('mod_bitcoinfaucet');