Skip to content

Commit 5b7e5ec

Browse files
committed
mass acions skeleton
1 parent 3f5617c commit 5b7e5ec

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

web/mass/web/index.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
// Init
3+
error_reporting(NULL);
4+
ob_start();
5+
session_start();
6+
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
7+
8+
//if (!empty($_GET['domain'])) {
9+
// $v_username = escapeshellarg($user);
10+
// $v_domain = escapeshellarg($_GET['domain']);
11+
// exec (VESTA_CMD."v_delete_web_domain ".$v_username." ".$v_domain, $output, $return_var);
12+
// if ($return_var != 0) {
13+
// $error = implode('<br>', $output);
14+
// if (empty($error)) $error = 'Error: vesta did not return any output.';
15+
// $_SESSION['error_msg'] = $error;
16+
// }
17+
// unset($output);
18+
//}
19+
echo "<pre>";
20+
print_r($_POST);
21+
echo "</pre>";
22+
23+
24+
//header("Location: /list/web/");

web/templates/admin/menu_web.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
unset($_SESSION['error_msg']);
2222
}
2323
?>
24-
<form action="/mass-domain/">
2524
<table class="sub-menu">
2625
<tr>
2726
<td width="142px" style="padding: 16px 0 16px 6px">

0 commit comments

Comments
 (0)