aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-27 21:38:54 +0200
committerMax Kostikov <max@kostikov.co>2019-04-27 21:38:54 +0200
commiteb44201c5f9cc80aca3c4704cc35b9d5fb766b71 (patch)
treec9ea9bdefb8fa69b28e4fd8020dc782c5ea4ecaf /Zotlabs/Module
parentfe84dae313a21598882d52f3f36923b99180470c (diff)
downloadvolse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.tar.gz
volse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.tar.bz2
volse-hubzilla-eb44201c5f9cc80aca3c4704cc35b9d5fb766b71.zip
Use goaway() base function
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Photo.php3
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);
}
}
}