mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix #990 : add check on posix support for pcntl
This commit is contained in:
@@ -193,6 +193,16 @@ class task_manager
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if Pcntl posix supported is enabled, false otherwise
|
||||
*
|
||||
* @return Boolean
|
||||
*/
|
||||
public static function isPosixPcntlSupported()
|
||||
{
|
||||
return extension_loaded('pcntl') && extension_loaded('posix');
|
||||
}
|
||||
|
||||
public static function getAvailableTasks()
|
||||
{
|
||||
$taskdir = array(
|
||||
|
Reference in New Issue
Block a user