/pdf/code/trunk/administrator/components/com_artofpdf/install/install.php
PHP | 27 lines | 11 code | 5 blank | 11 comment | 1 complexity | 20ac293c0f1aa051c75f4a8c12d49acb MD5 | raw file
- <?php
- /**
- * @version $Id: install.php 289 2010-09-28 01:51:29Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License version 2 or later.
- * @link http://www.theartofjoomla.com
- */
- // No direct access
- defined('_JEXEC') or die;
- // load the component language file
- $language = JFactory::getLanguage();
- $language->load('com_artofpdf', JPATH_ADMINISTRATOR.'/components/com_artofpdf');
- // 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_artofpdf/version.php';
- $version = new ArtofPdfVersion;
- echo JText::sprintf('COM_ARTOFPDF_INSTALLED', $version->version.'.'.$version->subversion.' '.$version->status);