diff --git a/admin/stop.php b/admin/stop.php index 48237a3..7a15410 100644 --- a/admin/stop.php +++ b/admin/stop.php @@ -1,6 +1,8 @@ addPostFields(array('act'=>$act, 'hosts'=>$hosts )); - try { $http->send(); } catch (HttpException $ex) { echo $ex; } + $http = new HTTP_Request2( $url, HTTP_Request2::METHOD_POST); + $http->addPostParameter(array('act'=>$act, 'hosts'=>$hosts )); + try { + $http->send(); + } + catch (HTTP_Request2_Exception $ex) { + echo $ex; + } } header('Location: salles_live.php'); ?>