mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-19 16:19:55 -04:00
Use request::protocol().
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
class slideshow_theme_Core {
|
||||
static function page_bottom($theme) {
|
||||
$proto = (empty($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] === "off") ? "http" : "https";
|
||||
$proto = request::protocol();
|
||||
return "<script src=\"$proto://apps.cooliris.com/slideshow/go.js\" " .
|
||||
"type=\"text/javascript\"></script>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user