Skip to content
Permalink
Browse files

Update guiCore.php

  • Loading branch information...
zelon88 committed Mar 29, 2019
1 parent dd52936 commit bd3572bb70418dbb509615a16f620f2ce589bd20
Showing with 2 additions and 2 deletions.
  1. +2 −2 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"; }
// / -----------------------------------------------------------------------------------
?>
?>

0 comments on commit bd3572b

Please sign in to comment.
You can’t perform that action at this time.