mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
export from svn
This commit is contained in:
commit
641ed97fdd
340 changed files with 32404 additions and 0 deletions
18
web/index.php
Normal file
18
web/index.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
echo "<title>Testing Vesta Control Panel</title>\n";
|
||||
echo "<pre>\n";
|
||||
$cmd='/usr/bin/sudo /usr/local/vesta/bin/v_list_sys_users json';
|
||||
echo "Command: $cmd\n\n";
|
||||
exec ($cmd,$output,$return);
|
||||
if ($return > 0) {
|
||||
echo "Error $return: something is wrong\n";
|
||||
foreach ($output as $row) {
|
||||
echo "$row\n";
|
||||
}
|
||||
} else {
|
||||
foreach ($output as $row) {
|
||||
echo "$row\n";
|
||||
}
|
||||
}
|
||||
echo "</pre>\n";
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue