From 5c651a34d6e0edfe2b30bca12489e15da9e755cb Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 14 Jun 2017 13:51:13 -0400 Subject: [PATCH] Update for https Call entire site using https update video app to use https --- Toolkit/Videos/templates/webDecorator.html | 4 ++-- setup.phtml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Toolkit/Videos/templates/webDecorator.html b/Toolkit/Videos/templates/webDecorator.html index 2ff94f2..25fe184 100644 --- a/Toolkit/Videos/templates/webDecorator.html +++ b/Toolkit/Videos/templates/webDecorator.html @@ -1,5 +1,5 @@ -
- +
+ diff --git a/setup.phtml b/setup.phtml index cd9be3d..74d7ae1 100644 --- a/setup.phtml +++ b/setup.phtml @@ -47,7 +47,7 @@ if (($x = strlen($CALLED_FROM_DIR)) > 0) { } // Added to strip any trailing /'s to make sure we don't end up with many $base_url = preg_replace('|/*$|', '', $base_url); -$BASE_URL = "http://$base_url"; +$BASE_URL = "https://$base_url"; if (!isset($DEBUG)) { $DEBUG = (isset($mysecretcode) && $mysecretcode == 1234); @@ -626,7 +626,7 @@ define('MEDIA_APP_BASE_URL', $mediaAppBaseUrl); define('CKEDITOR_JS', MEDIA_APP_BASE_URL . 'ckeditor/4.3.2/ckeditor.js'); // This needs to be set to the real url ie. http://demo.gaslightmedia.com if ($isSecurePage) { - $BASE_URL = "http://$base_url"; + $BASE_URL = "https://$base_url"; } // Set CURRENT_BASE_URL according to whether site is secure or not. -- 2.17.1