mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added libevent dependency
This commit is contained in:
@ -46,6 +46,6 @@ define("TEST_MD5", "1e0d28177b73dfd09f922502fe767bec");
|
||||
define("MAJOR_VERSION", "Alpha_1.3dev");
|
||||
define("CURRENT_STRUCTURE", 5);
|
||||
define("CURRENT_PROTOCOL", 9);
|
||||
define("CURRENT_MINECRAFT_VERSION", "0.6.1");
|
||||
define("CURRENT_MINECRAFT_VERSION", "0.6.1 alpha");
|
||||
define("CURRENT_API_VERSION", 6);
|
||||
define("CURRENT_PHP_VERSION", "5.5");
|
@ -65,6 +65,11 @@ if(!extension_loaded("pthreads") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":""
|
||||
++$errors;
|
||||
}
|
||||
|
||||
if(!extension_loaded("libevent") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":"") . "libevent." . PHP_SHLIB_SUFFIX) === false){
|
||||
console("[ERROR] Unable to find the libevent extension.", true, true, 0);
|
||||
++$errors;
|
||||
}
|
||||
|
||||
if(!extension_loaded("curl") and @dl((PHP_SHLIB_SUFFIX === "dll" ? "php_":"") . "curl." . PHP_SHLIB_SUFFIX) === false){
|
||||
console("[ERROR] Unable to find the cURL extension.", true, true, 0);
|
||||
++$errors;
|
||||
|
Reference in New Issue
Block a user