mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
replaced underscore with dash in api syscalls
This commit is contained in:
parent
7ed705cee7
commit
b6b7eacadb
283 changed files with 438 additions and 412 deletions
|
@ -27,11 +27,11 @@ top_panel($user,$TAB);
|
|||
// Data
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
$q = escapeshellarg($q);
|
||||
exec (VESTA_CMD."v_search_object ".$q." json", $output, $return_var);
|
||||
exec (VESTA_CMD."v-search-object ".$q." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_search.html');
|
||||
} else {
|
||||
exec (VESTA_CMD."v_search_user_object ".$user." ".$q." json", $output, $return_var);
|
||||
exec (VESTA_CMD."v-search-user-object ".$user." ".$q." json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/list_search.html');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue