/filler/code/trunk/administrator/components/com_filler/install/install.php
PHP | 27 lines | 11 code | 4 blank | 12 comment | 1 complexity | 03f40355482b7a378c1aad6281257a69 MD5 | raw file
- <?php
- /**
- * @version $Id: install.php 253 2010-08-19 12:35:02Z eddieajau $
- * @package Artof.Filler
- * @subpackage com_filler
- * @copyright Copyright (C) 2005 - 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
- * @author Andrew Eddie <andrew.eddie@newlifeinit.com>
- * @link http://www.theartofjoomla.com
- */
- // no direct access
- defined('_JEXEC') or die;
- // load the component language file
- $language = JFactory::getLanguage();
- $language->load('com_filler', JPATH_ADMINISTRATOR.'/components/com_filler');
- // PHP 5 check
- if (version_compare(PHP_VERSION, '5.2.4', '<')) {
- $this->parent->abort(JText::_('TAOJ_USE_PHP5'));
- return false;
- }
- require JPATH_ADMINISTRATOR.'/components/com_filler/version.php';
- $version = new FillerVersion;
- echo JText::sprintf('COM_FILLER_INSTALLED', $version->version.'.'.$version->subversion.' '.$version->status);