mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】更新版本判断
This commit is contained in:
parent
6082e7dbe8
commit
e53e7d635a
@ -13,10 +13,10 @@
|
||||
namespace think;
|
||||
|
||||
if ('7.1.0' > phpversion()) {
|
||||
exit('您的php版本过低,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
|
||||
exit('您的php版本过低,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
|
||||
}
|
||||
if (phpversion() >= '8.0.0') {
|
||||
exit('您的php版本太高,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
|
||||
exit('您的php版本太高,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
|
||||
}
|
||||
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
|
||||
@ -18,10 +18,10 @@ if (file_exists('../install.lock')) {
|
||||
@set_time_limit(1000);
|
||||
|
||||
if ('7.1.0' > phpversion()) {
|
||||
exit('您的php版本过低,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
|
||||
exit('您的php版本过低,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
|
||||
}
|
||||
if (phpversion() >= '8.0.0') {
|
||||
exit('您的php版本太高,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
|
||||
exit('您的php版本太高,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
|
||||
}
|
||||
|
||||
date_default_timezone_set('PRC');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user