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:
6
ifm.php
6
ifm.php
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user