Skip to content

Commit fdf4862

Browse files
author
Kristan Kenney
committed
Update location of HTML files
1 parent 3070323 commit fdf4862

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

web/list/server/index.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// CPU info
1515
if (isset($_GET['cpu'])) {
1616
$TAB = 'CPU';
17-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
17+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
1818
exec (HESTIA_CMD.'v-list-sys-cpu-status', $output, $return_var);
1919
foreach($output as $file) {
2020
echo $file . "\n";
@@ -26,7 +26,7 @@
2626
// Memory info
2727
if (isset($_GET['mem'])) {
2828
$TAB = 'MEMORY';
29-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
29+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
3030
exec (HESTIA_CMD.'v-list-sys-memory-status', $output, $return_var);
3131
foreach($output as $file) {
3232
echo $file . "\n";
@@ -38,7 +38,7 @@
3838
// Disk info
3939
if (isset($_GET['disk'])) {
4040
$TAB = 'DISK';
41-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
41+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
4242
exec (HESTIA_CMD.'v-list-sys-disk-status', $output, $return_var);
4343
foreach($output as $file) {
4444
echo $file . "\n";
@@ -50,7 +50,7 @@
5050
// Network info
5151
if (isset($_GET['net'])) {
5252
$TAB = 'NETWORK';
53-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
53+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
5454
exec (HESTIA_CMD.'v-list-sys-network-status', $output, $return_var);
5555
foreach($output as $file) {
5656
echo $file . "\n";
@@ -62,7 +62,7 @@
6262
// Web info
6363
if (isset($_GET['web'])) {
6464
$TAB = 'WEB';
65-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
65+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
6666
exec (HESTIA_CMD.'v-list-sys-web-status', $output, $return_var);
6767
foreach($output as $file) {
6868
$file=str_replace('border="0"', 'border="1"', $file);
@@ -79,7 +79,7 @@
7979
// DNS info
8080
if (isset($_GET['dns'])) {
8181
$TAB = 'DNS';
82-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
82+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
8383
exec (HESTIA_CMD.'v-list-sys-dns-status', $output, $return_var);
8484
foreach($output as $file) {
8585
echo $file . "\n";
@@ -91,7 +91,7 @@
9191
// Mail info
9292
if (isset($_GET['mail'])) {
9393
$TAB = 'MAIL';
94-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
94+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
9595
exec (HESTIA_CMD.'v-list-sys-mail-status', $output, $return_var);
9696
if ($return_var == 0 ) {
9797
foreach($output as $file) {
@@ -105,7 +105,7 @@
105105
// DB info
106106
if (isset($_GET['db'])) {
107107
$TAB = 'DB';
108-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_server_info.html');
108+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_server_info.html');
109109
exec (HESTIA_CMD.'v-list-sys-db-status', $output, $return_var);
110110
if ($return_var == 0 ) {
111111
foreach($output as $file) {

web/list/web-log/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
66

77
// Header
8-
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_weblog.html');
8+
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_weblog.html');
99

1010
$v_domain = escapeshellarg($_GET['domain']);
1111
if ($_GET['type'] == 'access') $type = 'access';

0 commit comments

Comments
 (0)