Replacing some _SERVER-Var-lines to deliver also Server-port to avoid problems if differing from default.
This commit is contained in:
parent
9a81168911
commit
7322b3992d
4 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -47,7 +47,7 @@ $(document).ready(function(){
|
|||
var lastHeardT = $('#lastHeard').dataTable( {
|
||||
"language": <?php echo DATATABLESTRANSLATION; ?>,
|
||||
"aaSorting": [[0,'desc']],
|
||||
<?php $request = 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . "{$_SERVER['HTTP_HOST']}/{$_SERVER['REQUEST_URI']}";
|
||||
<?php $request = 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . "{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}/{$_SERVER['REQUEST_URI']}";
|
||||
if (strpos($request,"index.php")> 0) {
|
||||
$request = substr($request,0,strpos($request,"index.php"));
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ $(document).ready(function(){
|
|||
"language": <?php echo DATATABLESTRANSLATION; ?>,
|
||||
"aaSorting": [[0,'desc']],
|
||||
|
||||
<?php $request = 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . "{$_SERVER['HTTP_HOST']}/{$_SERVER['REQUEST_URI']}";
|
||||
<?php $request = 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . "{$_SERVER['SERVER_NAME']}:{$_SERVER['SERVER_PORT']}/{$_SERVER['REQUEST_URI']}";
|
||||
if (strpos($request,"index.php")> 0) {
|
||||
$request = substr($request,0,strpos($request,"index.php"));
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20200503-1 (".getGitVersion().")");
|
||||
define("VERSION", "20200602-1 (".getGitVersion().")");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue