diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index 7f833980..52d38a3f 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -173,6 +173,7 @@ class UserController $model = new UserModel(); // $model->addToQueue(); // $client = Client::getInstance(); + if (! function_exists('pcntl_fork')) die('PCNTL functions not available on this PHP installation'); switch ($pid = pcntl_fork()) { case -1: // @fail