Fixed 'cd' command for windows

This commit is contained in:
Dmitry Khomutov 2014-03-13 00:37:57 +07:00
commit d0f6d295a1
6 changed files with 28 additions and 5 deletions

View file

@ -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);
}