Skip to content

Commit

Permalink
Use request::protocol().
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jun 18, 2010
1 parent f0a99ff commit b1a6fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/slideshow/helpers/slideshow_theme.php
Expand Up @@ -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>";
}
Expand Down

0 comments on commit b1a6fd3

Please sign in to comment.