commit
8427c84403
2
LICENSE
2
LICENSE
|
@ -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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue