Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Create a VPS
- *
- * @author Pulkit Gupta
- * @param array $post An array of DATA that should be posted
- * @return array The unserialized array on success OR false on failure
- */
- function editvs($post, $cookies = array())
- {
- $path = 'index.php?act=editvs&vpsid=' . $post['vpsid'];
- //$post = $this->clean_post($post, 1);
- $ret = $this->call($path, '', $post, $cookies);
- return array(
- 'title' => $ret['title'],
- 'done' => $ret['done'],
- 'error' => @empty($ret['error']) ? array() : $ret['error'],
- 'vs_info' => $ret['vps']
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement