Merge branch 'dev' into 'dev'
Use goaway() base function See merge request hubzilla/core!1612
This commit is contained in:
commit
d3ce91bd89
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user