Skip to content

Conversation

@tiagohillebrandt
Copy link
Contributor

This patch fixes the warning displayed when exec is set in disable_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

@danielbachhuber danielbachhuber added this to the v0.10.5 milestone Aug 10, 2015
danielbachhuber pushed a commit that referenced this pull request Aug 10, 2015
Verifies if exec is not in disable_functions directive
@danielbachhuber danielbachhuber merged commit 037a010 into wp-cli:master Aug 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants