mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Resolved install issues, environment now in tact enough to run app_defaults
This commit is contained in:
@@ -150,6 +150,13 @@ require_once "resources/classes/EventSocket.php";
|
||||
$esl->reset_fp();
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
public function restart_switch() {
|
||||
$this->connect_event_socket();
|
||||
if(!$this->event_socket){
|
||||
throw new Exception('Failed to use event socket');
|
||||
}
|
||||
$this->event_socket_request('api fsctl shutdown restart elegant');
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user