Fixed 'cd' command for windows
This commit is contained in:
parent
e3ff9d405a
commit
d0f6d295a1
6 changed files with 28 additions and 5 deletions
5
vars.php
5
vars.php
|
|
@ -25,3 +25,8 @@ if (!defined('ENABLE_SHELL_PLUGIN')) {
|
|||
if (!defined('PHPCI_IS_CONSOLE')) {
|
||||
define('PHPCI_IS_CONSOLE', false);
|
||||
}
|
||||
|
||||
$isWin = (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') ? true : false;
|
||||
if (!defined('IS_WIN')) {
|
||||
define('IS_WIN', $isWin);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue