refs #208 removes some comments

pull/3/head
Luis Gerardo Romero Garcia 2024-06-21 16:22:42 +02:00
parent 49dfba6c95
commit cc0a0bffbc
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public function installOglive($isoname)
public function callOgLive($parameter)
{
$socketPath = '/tmp/oglive_daemon.sock'; // Path to the UNIX socket
$socketPath = '/tmp/oglive_daemon.sock';
$socket = socket_create(AF_UNIX, SOCK_STREAM, 0);
if ($socket === false) {
syslog(LOG_ERR, 'Error al crear el socket: ' . socket_strerror(socket_last_error()));
@ -87,7 +87,7 @@ public function callOgLive($parameter)
}
$args = explode(' ', $parameter);
$action = array_shift($args); // Toma la primera palabra como la acción
$action = array_shift($args);
$command = [
'action' => $action,
'args' => $args