Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b75209

Browse files
Merge branch 'hotfix/path-to-php-folders-backslash' into develop
2 parents c330ede + 441158b commit 0b75209

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [1.1.1] - 2018年12月23日
10+
11+
### Fixed
12+
- Fixed missing directory separator between path to php folders and currently / newly selected php version folder(s).
13+
914
## [1.1.0] - 2018年08月24日
1015

1116
### Added

‎cli_changer.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ for /L %%a in (1,1,%$lastUsersEnvironmentalPathArrayId%) do (
138138
rem Loop through the $availablePhpVersionsArray.
139139
for /L %%b in (1,1,%$lastAvailablePhpVersionsArrayId%) do (
140140
rem Check if the users environmental path string matches the path to the available PHP version string.
141-
if "!$usersEnvironmentalPathArray[%%a]!"=="%$pathToPhpFolders%!$availablePhpVersionsArray[%%b]!" (
141+
if "!$usersEnvironmentalPathArray[%%a]!"=="%$pathToPhpFolders%\!$availablePhpVersionsArray[%%b]!" (
142142
rem Force the 'for' command parameters into type 'integer'.
143143
set /A $currentPhpVersionId=currentPhpVersionId+%%b
144144
set /A $currentUserEnvPathId=$currentUserEnvPathId+%%a
@@ -238,7 +238,7 @@ for /L %%a in (1,1,%$lastUsersEnvironmentalPathArrayId%) do (
238238
)
239239

240240
rem Add the selected PHP folder path to the end of the $usersEnvironmentalPathString.
241-
set $result=%$result%%$pathToPhpFolders%!$availablePhpVersionsArray[%$newSelectionId%]!
241+
set $result=%$result%%$pathToPhpFolders%\!$availablePhpVersionsArray[%$newSelectionId%]!
242242

243243
rem Set the $usersEnvironmentalPathString.
244244
setx path "%$result%" >nul

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /