29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00
cms/installation/index.php
Niels Braczek 2ca2d4ebf0
Converted copyright statement to standard format (#29689)
* Converted copyright statement to standard format

* Converted copyright statement to standard format (re-done without rename heuristic)

* Converted copyright statement to standard format (re-done with new rename algorithm)

* Removed copyright year update

* Fixed tests to allow line feed at eof

* Reverted changes not directly related to copyright statement

* Exchanged copyright sign with '(C)' in SQL files

* Fixed creation date in XML files
(Why do people keep changing that?)

* Changed sw-KE.ini manually

* Removed link from copyright in SQL data
(their source, the XML files, do not contain the link)

* Replaced copyright sign with (C) in XML files

* Converted copyright statement for files in `build/`, `libraries/fof/` and `libraries/joomla/`

* Fixed encoding

* Replaced copyright sign with its ASCII representation '(C)' to avoid conflicts and improve consistency

* Reconstructed creation dates from JoomlaCode and source code

* Changed creationDate to creation date of that specific language file version using ISO format

* Update LegacyFactory.php
2020-08-12 17:57:18 +02:00

33 lines
965 B
PHP

<?php
/**
* @package Joomla.Installation
*
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
*/
define('JOOMLA_MINIMUM_PHP', '5.3.10');
if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}
/**
* Constant that is checked in included files to prevent direct access.
* define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Bootstrap the application
require_once __DIR__ . '/application/bootstrap.php';
// Get the application
$app = JApplicationWeb::getInstance('InstallationApplicationWeb');
// Execute the application
$app->execute();