mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Added libevent dependency
This commit is contained in:
parent
9b07994913
commit
9624b9c35e
4 changed files with 39 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue