re-opened bug #363
This commit is contained in:
parent
96abee53e4
commit
466188ebd7
|
@ -222,6 +222,11 @@ function admin_page_site_post(&$a){
|
||||||
`poco` = replace(`poco` , 'http:' , 'https:')
|
`poco` = replace(`poco` , 'http:' , 'https:')
|
||||||
where `self` = 1"
|
where `self` = 1"
|
||||||
);
|
);
|
||||||
|
q("update `profile` set
|
||||||
|
`photo` = replace(`photo` , 'http:' , 'https:'),
|
||||||
|
`thumb` = replace(`thumb` , 'http:' , 'https:')
|
||||||
|
where 1 "
|
||||||
|
);
|
||||||
}
|
}
|
||||||
elseif($ssl_policy == SSL_POLICY_SELFSIGN) {
|
elseif($ssl_policy == SSL_POLICY_SELFSIGN) {
|
||||||
q("update `contact` set
|
q("update `contact` set
|
||||||
|
@ -236,6 +241,11 @@ function admin_page_site_post(&$a){
|
||||||
`poco` = replace(`poco` , 'https:' , 'http:')
|
`poco` = replace(`poco` , 'https:' , 'http:')
|
||||||
where `self` = 1"
|
where `self` = 1"
|
||||||
);
|
);
|
||||||
|
q("update `profile` set
|
||||||
|
`photo` = replace(`photo` , 'https:' , 'http:'),
|
||||||
|
`thumb` = replace(`thumb` , 'https:' , 'http:')
|
||||||
|
where 1 "
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set_config('system','ssl_policy',$ssl_policy);
|
set_config('system','ssl_policy',$ssl_policy);
|
||||||
|
|
Loading…
Reference in a new issue