11 lines
260 B
PHP
11 lines
260 B
PHP
<?php
|
|
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
|
|
$uri = 'https://';
|
|
} else {
|
|
$uri = 'http://';
|
|
}
|
|
$uri .= $_SERVER['HTTP_HOST'];
|
|
header('Location: '.$uri.'/dashboard/');
|
|
exit;
|
|
?>
|
|
Something is wrong with the XAMPP installation :-(
|