PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/filler/code/trunk/administrator/components/com_filler/install/install.php

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