mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
user function
This commit is contained in:
parent
7bfebfff62
commit
e734d14637
43 changed files with 1280 additions and 54 deletions
|
@ -5,7 +5,7 @@ ob_start();
|
|||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
//if ($_SESSION['user'] == 'admin') {
|
||||
// Mail domain
|
||||
if ((!empty($_GET['domain'])) && (empty($_GET['account']))) {
|
||||
$v_username = escapeshellarg($user);
|
||||
|
@ -26,6 +26,6 @@ if ($_SESSION['user'] == 'admin') {
|
|||
header("Location: /list/mail/?domain=".$_GET['domain']);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
header("Location: /list/mail/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue