|
|
@@ -2,17 +2,25 @@
|
|
|
|
|
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|
|
|
|
|
+$TAB = "WEB";
|
|
|
+
|
|
|
+$v_domain = escapeshellarg($_GET['domain']);
|
|
|
+$type = 'access';
|
|
|
+if ($_GET['type'] == 'access') {
|
|
|
+ $type = 'access';
|
|
|
+}
|
|
|
+if ($_GET['type'] == 'error') {
|
|
|
+ $type = 'error';
|
|
|
+}
|
|
|
// Header
|
|
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/pages/list_weblog.html');
|
|
|
|
|
|
-$v_domain = escapeshellarg($_GET['domain']);
|
|
|
-if ($_GET['type'] == 'access') $type = 'access';
|
|
|
-if ($_GET['type'] == 'error') $type = 'error';
|
|
|
|
|
|
-exec (HESTIA_CMD."v-list-web-domain-".$type."log $user ".$v_domain, $output, $return_var);
|
|
|
|
|
|
-if ($return_var == 0 ) {
|
|
|
- foreach($output as $file) {
|
|
|
+exec(HESTIA_CMD."v-list-web-domain-".$type."log $user ".$v_domain, $output, $return_var);
|
|
|
+
|
|
|
+if ($return_var == 0) {
|
|
|
+ foreach ($output as $file) {
|
|
|
echo htmlentities($file) . "\n";
|
|
|
}
|
|
|
}
|