File tree Expand file tree Collapse file tree 4 files changed +0
-26
lines changed Expand file tree Collapse file tree 4 files changed +0
-26
lines changed Original file line number Diff line number Diff line change 19
19
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
20
*/
21
21
22
- if (version_compare (phpversion (), '7.3.0 ' , '< ' ) === true ) {
23
- echo 'It looks like you have an invalid PHP version. OpenMage supports PHP 7.3.0 or newer ' ;
24
- exit ;
25
- }
26
-
27
22
$ magentoRootDir = getcwd ();
28
23
$ bootstrapFilename = $ magentoRootDir . '/app/bootstrap.php ' ;
29
24
$ mageFilename = $ magentoRootDir . '/app/Mage.php ' ;
Original file line number Diff line number Diff line change 18
18
* @copyright Copyright (c) 2016-2022 The OpenMage Contributors (https://www.openmage.org)
19
19
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
20
*/
21
- if (version_compare (phpversion (), '7.3.0 ' , '< ' ) === true ) {
22
- echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; '
23
- . 'border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; '
24
- . 'text-transform:none; text-align:left; color:#2f2f2f;">Whoops, it looks like you have an invalid PHP version. '
25
21
26
- . '</h3></div><p>OpenMage supports PHP 7.3.0 or newer. <a href="https://www.openmage.org/magento-lts/install.html" '
27
- . 'target="">Find out</a> how to install</a> OpenMage using PHP-CGI as a work-around.</p></div> ' ;
28
- exit ;
29
- }
30
22
$ start = microtime (true );
31
23
/**
32
24
* Error reporting
Original file line number Diff line number Diff line change 19
19
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
20
*/
21
21
22
- if (version_compare (phpversion (), '7.3.0 ' , '< ' ) === true ) {
23
- echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;">
24
- <div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;">
25
- <h3 style="margin:0; font-size:1.7em; font-weight:normal; text-transform:none; text-align:left; color:#2f2f2f;">
26
- Whoops, it looks like you have an invalid PHP version.</h3></div><p>OpenMage supports PHP 7.3.0 or newer.
27
- <a href="https://www.openmage.org/magento-lts/install.html" target="">Find out</a> how to install</a>
28
- OpenMage using PHP-CGI as a work-around.</p></div> ' ;
29
- exit ;
30
- }
31
-
32
22
define ('MAGENTO_ROOT ' , getcwd ());
33
23
34
24
$ mageFilename = MAGENTO_ROOT . '/app/Mage.php ' ;
Original file line number Diff line number Diff line change 113
113
*
114
114
*/
115
115
116
- if (version_compare (phpversion (), '7.3.0 ' , '< ' ) === true ) {
117
- die ('ERROR: Whoops, it looks like you have an invalid PHP version. OpenMage supports PHP 7.3.0 or newer. ' );
118
- }
119
116
set_include_path (__DIR__ . PATH_SEPARATOR . get_include_path ());
120
117
require 'app/bootstrap.php ' ;
121
118
require 'app/Mage.php ' ;
You can’t perform that action at this time.
0 commit comments