Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
928fce87
Commit
928fce87
authored
Jun 03, 2017
by
Zot
Committed by
Mario
Jun 07, 2017
Browse files
make authenticated oembeds optional, default to false.
parent
1d3c6e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/oembed.php
View file @
928fce87
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment