mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 20:38:26 +01:00
Fixed Syntax error in UrlOembed
This commit is contained in:
parent
95ec30c8c3
commit
8a2f600776
@ -181,7 +181,7 @@ class UrlOembed extends ActiveRecord
|
||||
curl_setopt($curl, CURLOPT_TIMEOUT, 15);
|
||||
|
||||
// Not available when open_basedir or safe_mode is set.
|
||||
if (!function_exists('ini_get') || !ini_get('open_basedir')) || !ini_get('safe_mode')) {
|
||||
if (!function_exists('ini_get') || !ini_get('open_basedir') || !ini_get('safe_mode')) {
|
||||
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user