[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Installation 5 * 6 * @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10 /** 11 * NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message 12 */ 13 14 /** 15 * Define the application's minimum supported PHP version as a constant so it can be referenced within the application. 16 */ 17 define('JOOMLA_MINIMUM_PHP', '7.2.5'); 18 19 if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { 20 die( 21 str_replace( 22 '{{phpversion}}', 23 JOOMLA_MINIMUM_PHP, 24 file_get_contents(dirname(__FILE__) . '/../templates/system/incompatible.html') 25 ) 26 ); 27 } 28 29 /** 30 * Constant that is checked in included files to prevent direct access. 31 * define() is used rather than "const" to not error for PHP 5.2 and lower 32 */ 33 define('_JEXEC', 1); 34 35 // Run the application - All executable code should be triggered through this file 36 require_once dirname(__FILE__) . '/includes/app.php';
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |