Your IP : 216.73.216.201


Current Path : /home/sunflowe/www2/j15/modules/mod_jweather/
Upload File :
Current File : /home/sunflowe/www2/j15/modules/mod_jweather/mod_jweather.php

<?php
/**
 * @version		$Id: mod_jweather.php 40 2009-07-11 08:50:06Z p0l0 $
 * @package		Joomla jWeather
 * @author		Marco Neumann
 * @copyright	Copyright (c) 2008, 2009, Marco Neumann
 * @license		GNU/GPL, see COPYING  
 * 
 * This file is part of jWeather.
 * 
 * jWeather is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * jWeather is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with jWeather.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */

//no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate funcions only once
require_once(dirname(__FILE__).DS.'helper.php');

modJWeatherHelper::initialize($params);

$weatherData = modJWeatherHelper::getWeatherData($params->get('citycode'));

require(JModuleHelper::getLayoutPath('mod_jweather'));
?>