diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-03 16:00:14 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-03 16:00:14 -0700 |
commit | c7f097ec849b05065f12246d2e647ead03f9592f (patch) | |
tree | dde9ebb14b5b183613ffcaeaf1ac3dc623e23682 | |
parent | 0b740826c5cfac8b2feddcf9e482731ebc78c553 (diff) | |
download | volse-hubzilla-c7f097ec849b05065f12246d2e647ead03f9592f.tar.gz volse-hubzilla-c7f097ec849b05065f12246d2e647ead03f9592f.tar.bz2 volse-hubzilla-c7f097ec849b05065f12246d2e647ead03f9592f.zip |
make authenticated oembeds optional, default to false.
-rwxr-xr-x | include/oembed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php index 5865c95d5..e35a77fa3 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -134,7 +134,7 @@ function oembed_fetch_url($embedurl){ $txt = null; // we should try to cache this and avoid a lookup on each render - $zrl = is_matrix_url($embedurl); + $zrl = ((get_config('system','oembed_zrl')) ? is_matrix_url($embedurl) : false); $furl = ((local_channel() && $zrl) ? zid($embedurl) : $embedurl); |