mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
improved user_validation
This commit is contained in:
parent
ed47fc3a9e
commit
fe0f39abc0
2 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ function top_panel($user, $TAB) {
|
|||
exec ($command, $output, $return_var);
|
||||
if ( $return_var > 0 ) {
|
||||
header("Location: /error/");
|
||||
exit;
|
||||
}
|
||||
$panel = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue