export from svn

This commit is contained in:
Serghey Rodin 2011-06-14 00:22:25 +03:00
commit 641ed97fdd
340 changed files with 32404 additions and 0 deletions

18
web/index.php Normal file
View 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";
?>