Closed tiagohillebrandt closed 9 years ago
This patch fixes the warning displayed when exec is set in disable_functions directive.
exec
disable_functions
Warning: exec() has been disabled for security reasons in vendor/wp-cli/php-cli-tools/lib/cli/Shell.php on line 32
If exec is disabled, $columns will assume the value set here: https://github.com/tiagohillebrandt/php-cli-tools/blob/master/lib/cli/Shell.php#L44,L46
$columns
This patch fixes the warning displayed when
exec
is set indisable_functions
directive.Warning: exec() has been disabled for security reasons in vendor/wp-cli/php-cli-tools/lib/cli/Shell.php on line 32
If exec is disabled,
$columns
will assume the value set here: https://github.com/tiagohillebrandt/php-cli-tools/blob/master/lib/cli/Shell.php#L44,L46