diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-27 21:38:54 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-27 21:38:54 +0200 |
commit | eb44201c5f9cc80aca3c4704cc35b9d5fb766b71 (patch) | |
tree | c9ea9bdefb8fa69b28e4fd8020dc782c5ea4ecaf /Zotlabs | |
parent | fe84dae313a21598882d52f3f36923b99180470c (diff) | |
download | volse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.tar.gz volse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.tar.bz2 volse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.zip |
Use goaway() base function
Diffstat (limited to 'Zotlabs')
-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); } } } |