Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jan-vandenberg/cruddiy
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vandenberg committed May 14, 2022
2 parents fd36c4d + ff1041e commit e203890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$protocol = $_SERVER['SERVER_PROTOCOL'];
$domain = $_SERVER['HTTP_HOST'];
$script = $_SERVER['SCRIPT_NAME'];
$parameters = $_SERVER['QUERY_STRING'];
$parameters = $GET ? $_SERVER['QUERY_STRING'] : "" ;
$protocol=strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https')
=== FALSE ? 'http' : 'https';
$currenturl = $protocol . '://' . $domain. $script . '?' . $parameters;
Expand Down

0 comments on commit e203890

Please sign in to comment.