1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00
This commit is contained in:
Daniel Neto 2024-06-11 14:07:39 -03:00
parent e0070be0ef
commit f8e22fc7fc
5 changed files with 15 additions and 7 deletions

View file

@ -131,7 +131,7 @@ function restartServer($kill=true) {
killProcessOnPort();
sleep(1);
}
$cmd = "php {$global['systemRootPath']}plugin/YPTSocket/server.php";
$cmd = YPTSocket::getStartServerCommand();
echo 'Starting server with command ' . $cmd . PHP_EOL;
exec($cmd, $output, $retval);
echo implode(PHP_EOL,$output);