1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-09-01 03:41:43 +02:00

fixed error when checking for curl

This commit is contained in:
Marco Dickert
2017-02-17 16:51:54 +01:00
parent 220d4579a4
commit 113c428660
2 changed files with 6 additions and 6 deletions

View File

@@ -1801,9 +1801,9 @@ ifm.init();
// is cURL extention avaliable?
private function checkCurl() {
if( ! function_exists( "curl_init" ) &&
!function_exists( "curl_setopt" ) &&
!function_exists( "curl_exec" ) &&
if( !function_exists( "curl_init" ) ||
!function_exists( "curl_setopt" ) ||
!function_exists( "curl_exec" ) ||
!function_exists( "curl_close" ) ) return false;
else return true;
}