Added support for mail() inside chroots

This commit is contained in:
Daniel Winzen
2020-01-05 15:50:08 +01:00
parent f573f79f6c
commit d7c886bb54
11 changed files with 63 additions and 14 deletions

View File

@ -3,7 +3,7 @@ include('../common.php');
$db = get_db_instance();
header('Content-Type: text/html; charset=UTF-8');
session_start();
if(!empty($_SESSION['hosting_username'])){
if(!empty($_SESSION['hosting_username']) && empty($_SESSION['2fa_code'])){
header('Location: home.php');
exit;
}