also allow https sources
This commit is contained in:
parent
9361032cb6
commit
8cb95ceb98
@ -94,7 +94,7 @@ class ViewImageTheme extends Themelet {
|
||||
$html .= " ($h_ip)";
|
||||
}
|
||||
if(!is_null($image->source)) {
|
||||
if(substr($image->source, 0, 7) == "http://") {
|
||||
if(substr($image->source, 0, 7) == "http://" || substr($image->source, 0, 8) == "https://") {
|
||||
$html .= " (<a href='$h_source'>source</a>)";
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user