Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. /**
  2. * Create a VPS
  3. *
  4. * @author Pulkit Gupta
  5. * @param array $post An array of DATA that should be posted
  6. * @return array The unserialized array on success OR false on failure
  7. */
  8. function editvs($post, $cookies = array())
  9. {
  10. $path = 'index.php?act=editvs&vpsid=' . $post['vpsid'];
  11. //$post = $this->clean_post($post, 1);
  12. $ret = $this->call($path, '', $post, $cookies);
  13. return array(
  14. 'title' => $ret['title'],
  15. 'done' => $ret['done'],
  16. 'error' => @empty($ret['error']) ? array() : $ret['error'],
  17. 'vs_info' => $ret['vps']
  18. );
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement