When called in offline queue, File::url was HTTP

Despite having the site configured "always" for HTTPS, File generated
thumbnails and such with HTTP urls.
This commit is contained in:
Mikael Nordfeldth
2015-01-12 18:56:19 +01:00
parent 65c540478e
commit cbb7ec07a5
2 changed files with 13 additions and 4 deletions

View File

@@ -303,7 +303,7 @@ class File extends Managed_DataObject
}
if (StatusNet::isHTTPS()) {
if (StatusNet::useHTTPS()) {
$sslserver = common_config('attachments', 'sslserver');