Put back pcntl warning (#24295)

This commit is contained in:
VicDeo 2016-05-12 13:08:08 +03:00 committed by Thomas Müller
parent de915934e6
commit 60ec1fc85d
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ try {
exit(1);
}
if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) {
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php" . PHP_EOL;
}
$application = new Application(\OC::$server->getConfig(), \OC::$server->getEventDispatcher(), \OC::$server->getRequest());
$application->loadCommands(new ArgvInput(), new ConsoleOutput());
$application->run();