update v 1.0.7.5

This commit is contained in:
Sujit Prasad
2016-06-13 20:41:55 +05:30
parent aa9786d829
commit 283d97e3ea
5078 changed files with 339851 additions and 175995 deletions

View File

@@ -84,13 +84,13 @@ class Console
return 80;
}
if (preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
if (function_exists('shell_exec') && preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
if ((int) $match[1] > 0) {
return (int) $match[1];
}
}
if (preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
if (function_exists('shell_exec') && preg_match('#columns = (\d+);#', shell_exec('stty'), $match) === 1) {
if ((int) $match[1] > 0) {
return (int) $match[1];
}

View File

@@ -123,7 +123,7 @@ class Runtime
if ($this->isHHVM()) {
return 'http://hhvm.com/';
} else {
return 'http://php.net/';
return 'https://secure.php.net/';
}
}