We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bff21f + 6b86160 commit 037a010Copy full SHA for 037a010
lib/cli/Shell.php
@@ -37,7 +37,7 @@ static public function columns() {
37
break;
38
}
39
40
- } else {
+ } else if (!preg_match('/(^|,)(\s*)?exec(\s*)?(,|$)/', ini_get('disable_functions'))) {
41
$columns = (int) exec('/usr/bin/env tput cols');
42
43
0 commit comments