forked from GNUsocial/gnu-social
Themes can be served from an SSL server
This commit is contained in:
@@ -110,9 +110,9 @@ class Theme
|
||||
$server = common_config('site', 'server');
|
||||
}
|
||||
|
||||
// XXX: protocol
|
||||
$protocol = common_config('theme', 'ssl') ? 'https' : 'http';
|
||||
|
||||
$this->path = 'http://'.$server.$path.$name;
|
||||
$this->path = $protocol . '://'.$server.$path.$name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user