mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
bootstrap: check for zlib raw support in leveldb
This commit is contained in:
parent
8a2ecfe1d4
commit
1c18c731ef
@ -126,6 +126,9 @@ namespace pocketmine {
|
|||||||
if(version_compare($leveldb_version, "0.2.1") < 0){
|
if(version_compare($leveldb_version, "0.2.1") < 0){
|
||||||
$messages[] = "php-leveldb >= 0.2.1 is required, while you have $leveldb_version.";
|
$messages[] = "php-leveldb >= 0.2.1 is required, while you have $leveldb_version.";
|
||||||
}
|
}
|
||||||
|
if(!defined('LEVELDB_ZLIB_RAW_COMPRESSION')){
|
||||||
|
$messages[] = "Given version of php-leveldb doesn't support ZLIB_RAW compression (use https://github.com/pmmp/php-leveldb)";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$chunkutils2_version = phpversion("chunkutils2");
|
$chunkutils2_version = phpversion("chunkutils2");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user