2009-05-27 22:47:11 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2012-06-20 23:36:22 +00:00
|
|
|
* @package Joomla.Installation
|
2012-06-30 21:09:54 +00:00
|
|
|
*
|
2014-12-30 08:15:58 +00:00
|
|
|
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
|
2012-06-20 23:36:22 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
2009-05-27 22:47:11 +00:00
|
|
|
*/
|
|
|
|
|
2014-01-29 07:53:13 +00:00
|
|
|
if (version_compare(PHP_VERSION, '5.3.10', '<'))
|
2012-06-28 18:03:31 +00:00
|
|
|
{
|
2014-01-29 07:53:13 +00:00
|
|
|
die('Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!');
|
2009-06-24 06:20:16 +00:00
|
|
|
}
|
|
|
|
|
2010-01-22 20:07:55 +00:00
|
|
|
/**
|
|
|
|
* Constant that is checked in included files to prevent direct access.
|
2012-09-22 14:48:06 +00:00
|
|
|
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
|
2010-01-22 20:07:55 +00:00
|
|
|
*/
|
2012-09-22 14:48:06 +00:00
|
|
|
define('_JEXEC', 1);
|
2009-05-27 22:47:11 +00:00
|
|
|
|
2013-03-05 07:25:55 +00:00
|
|
|
// Bootstrap the application
|
|
|
|
require_once dirname(__FILE__) . '/application/bootstrap.php';
|
2009-05-27 22:47:11 +00:00
|
|
|
|
2013-03-05 07:25:55 +00:00
|
|
|
// Get the application
|
|
|
|
$app = JApplicationWeb::getInstance('InstallationApplicationWeb');
|
2009-05-27 22:47:11 +00:00
|
|
|
|
2013-03-05 07:25:55 +00:00
|
|
|
// Execute the application
|
|
|
|
$app->execute();
|