summaryrefslogtreecommitdiff
path: root/modules/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'modules/slideshow')
-rw-r--r--modules/slideshow/helpers/slideshow_theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/slideshow/helpers/slideshow_theme.php b/modules/slideshow/helpers/slideshow_theme.php
index c23326cf..3203b7bc 100644
--- a/modules/slideshow/helpers/slideshow_theme.php
+++ b/modules/slideshow/helpers/slideshow_theme.php
@@ -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>";
}