mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
mass acions skeleton
This commit is contained in:
parent
3f5617c0a6
commit
5b7e5ecbfc
2 changed files with 24 additions and 1 deletions
24
web/mass/web/index.php
Normal file
24
web/mass/web/index.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
// Init
|
||||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
//if (!empty($_GET['domain'])) {
|
||||
// $v_username = escapeshellarg($user);
|
||||
// $v_domain = escapeshellarg($_GET['domain']);
|
||||
// exec (VESTA_CMD."v_delete_web_domain ".$v_username." ".$v_domain, $output, $return_var);
|
||||
// if ($return_var != 0) {
|
||||
// $error = implode('<br>', $output);
|
||||
// if (empty($error)) $error = 'Error: vesta did not return any output.';
|
||||
// $_SESSION['error_msg'] = $error;
|
||||
// }
|
||||
// unset($output);
|
||||
//}
|
||||
echo "<pre>";
|
||||
print_r($_POST);
|
||||
echo "</pre>";
|
||||
|
||||
|
||||
//header("Location: /list/web/");
|
|
@ -21,7 +21,6 @@
|
|||
unset($_SESSION['error_msg']);
|
||||
}
|
||||
?>
|
||||
<form action="/mass-domain/">
|
||||
<table class="sub-menu">
|
||||
<tr>
|
||||
<td width="142px" style="padding: 16px 0 16px 6px">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue