Skip to content

Commit

Permalink
Update guiCore.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zelon88 authored Mar 29, 2019
1 parent dd52936 commit bd3572b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guiCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -79,4 +79,4 @@ function getFilesize($File) {
$ahref = "./?hidden";
$atext = "Show"; }
// / -----------------------------------------------------------------------------------
?>
?>

0 comments on commit bd3572b

Please sign in to comment.