mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
implemented admin/user search
This commit is contained in:
parent
f685d8d333
commit
b1c9568248
60 changed files with 789 additions and 144 deletions
|
@ -3,6 +3,7 @@
|
|||
error_reporting(NULL);
|
||||
session_start();
|
||||
$TAB = 'DNS';
|
||||
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
// Header
|
||||
|
@ -13,7 +14,6 @@ top_panel($user,$TAB);
|
|||
|
||||
// Data
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
|
||||
if (empty($_GET['domain'])){
|
||||
exec (VESTA_CMD."v_list_dns_domains $user json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue