Merge pull request #1030 from anaggh/master

Updates
This commit is contained in:
Diego Najar 2019-05-19 12:16:41 +02:00 committed by GitHub
commit 8427c84403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2018 Diego Najar
Copyright (c) 2015-2019 Diego Najar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,8 @@
*/
// Check PHP version
if (version_compare(phpversion(), '5.3', '<')) {
$errorText = 'Current PHP version '.phpversion().', you need > 5.3.';
if (version_compare(phpversion(), '5.6', '<')) {
$errorText = 'Current PHP version '.phpversion().', you need > 5.6.';
error_log('[ERROR] '.$errorText, 0);
exit($errorText);
}