diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-27 21:47:57 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-27 21:47:57 +0200 |
commit | d3ce91bd8928b55d9be501d3cf140b3f5e6a7e91 (patch) | |
tree | 6d7d80752b82d4baa6f20ceaf6eeb53a5062f1c3 /Zotlabs/Module | |
parent | a518471a270795425a2b835fae585d26303beebd (diff) | |
parent | eb44201c5f9cc80aca3c4704cc35b9d5fb766b71 (diff) | |
download | volse-hubzilla-d3ce91bd8928b55d9be501d3cf140b3f5e6a7e91.tar.gz volse-hubzilla-d3ce91bd8928b55d9be501d3cf140b3f5e6a7e91.tar.bz2 volse-hubzilla-d3ce91bd8928b55d9be501d3cf140b3f5e6a7e91.zip |
Merge branch 'dev' into 'dev'
Use goaway() base function
See merge request hubzilla/core!1612
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Photo.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 30670c329..0dc6d0194 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -173,8 +173,7 @@ class Photo extends \Zotlabs\Web\Controller { // SSLify if needed if(strpos(z_root(),'https:') !== false && strpos($url,'https:') === false) $url = z_root() . '/sslify/' . $filename . '?f=&url=' . urlencode($url); - header("Location: " . $url); - killme(); + goaway($url); } } } |