From bd3572bb70418dbb509615a16f620f2ce589bd20 Mon Sep 17 00:00:00 2001 From: Justin Grimes Date: Fri, 29 Mar 2019 00:52:02 -0400 Subject: [PATCH] Update guiCore.php --- guiCore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guiCore.php b/guiCore.php index 4b82b326..62238191 100644 --- a/guiCore.php +++ b/guiCore.php @@ -35,7 +35,7 @@ // / The following code sets GUI specific resources. function getCurrentURL() { if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') $httpPrefix = 'https://'; - if (!empty($_SERVER['HTTPS']) or $_SERVER['HTTPS'] = 'on') $httpPrefix = 'http://'; + if (!empty($_SERVER['HTTPS']) or $_SERVER['HTTPS'] == 'on') $httpPrefix = 'http://'; $Current_URL = $httpPrefix.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; return ($CurrentURL); } function getFiles($pathToFiles) { @@ -79,4 +79,4 @@ function getFilesize($File) { $ahref = "./?hidden"; $atext = "Show"; } // / ----------------------------------------------------------------------------------- -?> \ No newline at end of file +?>