From d5bdd488c63037aebcbf506353a49b7bc29fd930 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 4 Jan 2017 11:19:11 -0500 Subject: [PATCH] Updates for ssl To make the ssl pages secure. --- Toolkit/Page.php | 7 ++++++- templates/template.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index b235782..f7cf0a0 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -136,6 +136,11 @@ class Toolkit_Page $this->baseURLDefined = BASE_URL; + $this->gaylordMichiganLogo + = ( $_SERVER['HTTPS'] == 'on' ) + ? 'https://ws6.gaslightmedia.com/gaylordmichigan.net/assets/logo.png' + : 'http://www.gaylordmichigan.net/assets/logo.png'; + // determine the base url to use (for MEDIA_APP_BASE_URL) $this->glmAppBaseURL = MEDIA_APP_BASE_URL; @@ -277,7 +282,7 @@ class Toolkit_Page private function _video() { $GLOBALS['bottomScripts'][] - = BASE_URL . 'Toolkit/Videos/libjs/videos.js'; + = MEDIA_BASE_URL . 'Toolkit/Videos/libjs/videos.js'; $dbh = Toolkit_Database::getInstance(); $sql = " SELECT id diff --git a/templates/template.html b/templates/template.html index a4ea49e..129add6 100755 --- a/templates/template.html +++ b/templates/template.html @@ -196,7 +196,7 @@
- +

Gaylord Golf Mecca

-- 2.17.1