fixed history log page

This commit is contained in:
Serghey Rodin 2012-12-17 17:05:02 +02:00
commit 7816834a32

View file

@ -12,8 +12,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
top_panel($user,$TAB);
// Data
if ($_SESSION['user'] == 'admin') {
exec (VESTA_CMD."v-list-user-log $user json", $output, $return_var);
check_error($return_var);
$data = json_decode(implode('', $output), true);
@ -22,7 +20,6 @@ if ($_SESSION['user'] == 'admin') {
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_log.html');
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_log.html');
}
// Footer
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');