mirror of
https://github.com/filegator/filegator.git
synced 2025-08-20 13:02:27 +02:00
default error_reporting set to pre PHP8
This commit is contained in:
2
dist/index.php
vendored
2
dist/index.php
vendored
@@ -9,6 +9,8 @@
|
|||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '7.2.5', '<')) {
|
if (version_compare(PHP_VERSION, '7.2.5', '<')) {
|
||||||
echo 'Minimum requirement is PHP 7.2.5 You are using: '.PHP_VERSION."\n";
|
echo 'Minimum requirement is PHP 7.2.5 You are using: '.PHP_VERSION."\n";
|
||||||
die;
|
die;
|
||||||
|
Reference in New Issue
Block a user