aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-27 21:47:57 +0200
committerMax Kostikov <max@kostikov.co>2019-04-27 21:47:57 +0200
commitd3ce91bd8928b55d9be501d3cf140b3f5e6a7e91 (patch)
tree6d7d80752b82d4baa6f20ceaf6eeb53a5062f1c3 /Zotlabs/Module
parenta518471a270795425a2b835fae585d26303beebd (diff)
parenteb44201c5f9cc80aca3c4704cc35b9d5fb766b71 (diff)
downloadvolse-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.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);
}
}
}