diff options
author | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:52 +0000 |
---|---|---|
committer | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:52 +0000 |
commit | 90ec3340e44a3d3c69779f0db33ee49e864f326d (patch) | |
tree | 2b0bc859c3a7d31adcd1c9777d9868b9dbecdeda /Zotlabs/Module/Photos.php | |
parent | cf2609530fcffdc7f5477336232b7cfde8b6403f (diff) | |
parent | cdccf601320ec7e59f5d96438edac34d5ea30085 (diff) | |
download | volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.tar.gz volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.tar.bz2 volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.zip |
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'Zotlabs/Module/Photos.php')
-rw-r--r-- | Zotlabs/Module/Photos.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php index 0f80f46a5..bb7079a6a 100644 --- a/Zotlabs/Module/Photos.php +++ b/Zotlabs/Module/Photos.php @@ -671,8 +671,13 @@ class Photos extends \Zotlabs\Web\Controller { */ if($datatype === 'album') { - - \App::$page['htmlhead'] .= "\r\n" . '<link rel="alternate" type="application/json+oembed" href="' . z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . \App::$cmd) . '" title="oembed" />' . "\r\n"; + + head_add_link([ + 'rel' => 'alternate', + 'type' => 'application/json+oembed', + 'href' => z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . \App::$query_string), + 'title' => 'oembed' + ]); if($x = photos_album_exists($owner_uid, get_observer_hash(), $datum)) { \App::set_pager_itemspage(60); |