lib/elFinder.class.php 1 location
|
@@ 1405-1411 (lines=7) @@
|
1402 |
|
} |
1403 |
|
} |
1404 |
|
|
1405 |
|
if ($result === false) { |
1406 |
|
if (curl_errno($curl)) { |
1407 |
|
throw new \Exception('curl_exec() failed: '.curl_error($curl)); |
1408 |
|
} else { |
1409 |
|
throw new \Exception('curl_exec(): empty response'); |
1410 |
|
} |
1411 |
|
} |
1412 |
|
|
1413 |
|
curl_close($curl); |
1414 |
|
|
lib/elFinderVolumeOneDrive.class.php 2 locations
|
@@ 434-441 (lines=8) @@
|
431 |
|
|
432 |
|
$result = curl_exec($curl); |
433 |
|
|
434 |
|
if (false === $result) { |
435 |
|
if (curl_errno($curl)) { |
436 |
|
throw new \Exception('curl_setopt_array() failed: ' |
437 |
|
.curl_error($curl)); |
438 |
|
} else { |
439 |
|
throw new \Exception('curl_setopt_array(): empty response'); |
440 |
|
} |
441 |
|
} |
442 |
|
curl_close($curl); |
443 |
|
|
444 |
|
$decoded = json_decode($result); |
|
@@ 498-504 (lines=7) @@
|
495 |
|
|
496 |
|
$result = curl_exec($curl); |
497 |
|
|
498 |
|
if (! $result) { |
499 |
|
if (curl_errno($curl)) { |
500 |
|
throw new \Exception('curl_setopt_array() failed: '.curl_error($curl)); |
501 |
|
} else { |
502 |
|
throw new \Exception('curl_setopt_array(): empty response'); |
503 |
|
} |
504 |
|
} |
505 |
|
curl_close($curl); |
506 |
|
|
507 |
|
$decoded = json_decode($result); |