Fix problem with redirect

This commit is contained in:
Dany De Bontridder 2020-05-10 11:59:58 +02:00
parent 3f5759dfcc
commit 39617e77e4
2 changed files with 2 additions and 2 deletions

View file

@ -322,7 +322,7 @@ if ( ! defined ("NOALYSS_URL")) {
$protocol=$_SERVER['REQUEST_SCHEME'];
}
$base=$protocol.'://'.
$_SERVER['HTTP_HOST'].
$_SERVER['SERVER_NAME'].
":".$_SERVER['SERVER_PORT'].
dirname($_SERVER['PHP_SELF']);
define ("NOALYSS_URL",$base);