]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add startup warning that the PCNTL extensions are missing
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 29 Jan 2016 15:03:35 +0000 (16:03 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Mon, 1 Feb 2016 08:47:13 +0000 (09:47 +0100)
console.php

index 23f40a15437f9c4256578b17658d628eb3b675c2..2073654fa8df4a7ae99e29c32db6a652bdd094d3 100644 (file)
@@ -76,6 +76,10 @@ try {
                exit(1);
        }
 
+       if (!function_exists('pcntl_signal')) {
+               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());
        $application->loadCommands(new ConsoleOutput());
        $application->run();