From: Steve Sutton Date: Thu, 5 Mar 2015 20:06:11 +0000 (-0500) Subject: set secure urls X-Git-Tag: v1.0.0^2~5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e79be4a88369c752e3c10e5ff22cf6c42b7b1eb0;p=web%2FGaylordGolfMecca.git set secure urls --- diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 13c576f..ef98339 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -131,6 +131,8 @@ class Toolkit_Page // determine the base url to use (for images and stylesheet urls) $this->mediaBaseURL = MEDIA_BASE_URL; + $this->secureBaseURL = BASE_SECURE_URL; + $this->baseURLDefined = BASE_URL; // determine the base url to use (for MEDIA_APP_BASE_URL) diff --git a/setup.phtml b/setup.phtml index 9721b79..8928128 100644 --- a/setup.phtml +++ b/setup.phtml @@ -52,7 +52,7 @@ $BASE_URL = "http://$base_url"; if (!isset($DEBUG)) { $DEBUG = (isset($mysecretcode) && $mysecretcode == 1234); } -$securePagesArray = array(); +$securePagesArray = array(16); define('SECURE_PAGES', serialize($securePagesArray)); $nonMobilePagesArray = array(); define('NON_MOBILE_PAGES', serialize($nonMobilePagesArray)); diff --git a/templates/template.html b/templates/template.html index de495da..d89d097 100755 --- a/templates/template.html +++ b/templates/template.html @@ -18,7 +18,7 @@
- +
@@ -158,7 +158,7 @@
- +