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
|
// SSLify if needed
|
||||||
if(strpos(z_root(),'https:') !== false && strpos($url,'https:') === false)
|
if(strpos(z_root(),'https:') !== false && strpos($url,'https:') === false)
|
||||||
$url = z_root() . '/sslify/' . $filename . '?f=&url=' . urlencode($url);
|
$url = z_root() . '/sslify/' . $filename . '?f=&url=' . urlencode($url);
|
||||||
header("Location: " . $url);
|
goaway($url);
|
||||||
killme();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user