mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-03 11:59:29 +00:00
This commit is contained in:
@@ -44,6 +44,8 @@ if (isset($_POST['username']))
|
||||
else
|
||||
$path = dirname($_SERVER['PHP_SELF']).'/index.php';
|
||||
|
||||
if(substr($path,0,1)=='/')
|
||||
$path=substr($path,1);
|
||||
//echo 'REDIRECT TO '.SERVER_ROOT.$path;
|
||||
//echo "user: ".$_SESSION['user'];
|
||||
header('Location: '.SERVER_ROOT.$path);
|
||||
|
||||
Reference in New Issue
Block a user