Permalink
Browse files

(Fixes issue 1591)

  • Loading branch information...
1 parent d0de56c commit b11109165122e94bde48c817d359b2a7c179d921 qiang.xue committed Sep 19, 2010
Showing with 25 additions and 23 deletions.
  1. +2 −0 CHANGELOG
  2. +1 −1 framework/cli/views/webapp/protected/yiic.bat
  3. +22 −22 framework/yiic.bat
View
@@ -14,6 +14,8 @@ Version 1.1.5 to be released
- Enh #1560: Removed potential circular references in relational AR queries (Qiang)
- Enh #1578: Added support to parse AM/PM by CDateTimeParser (Qiang)
- Enh #1583: Upgraded HTMLPurifier to v4.2.0 (Sam Dark)
+- Enh #1591: Fixed yiic.bat to make sure it works even if the path of PHP executable contains spaces (Qiang)
+- Enh #1598: Fixed CHttpRequest::getUserAgent() to make sure it works even if HTTP_USER_AGENT is not defined (Qiang)
- Enh: Upgraded JQuery UI to 1.8.5 (Sam Dark)
- Chg: The javascript files of CListView and CGridView are now registered at the end of the page (Qiang)
@@ -11,6 +11,6 @@ set BIN_PATH=%~dp0
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
-%PHP_COMMAND% "%BIN_PATH%yiic.php" %*
+"%PHP_COMMAND%" "%BIN_PATH%yiic.php" %*
@endlocal
View
@@ -1,23 +1,23 @@
-@echo off
-
-rem -------------------------------------------------------------
-rem Yii command line script for Windows.
-rem
-rem This is the bootstrap script for running yiic on Windows.
-rem
-rem @author Qiang Xue <qiang.xue@gmail.com>
-rem @link http://www.yiiframework.com/
-rem @copyright Copyright &copy; 2008 Yii Software LLC
-rem @license http://www.yiiframework.com/license/
-rem @version $Id$
-rem -------------------------------------------------------------
-
-@setlocal
-
-set YII_PATH=%~dp0
-
-if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
-
-%PHP_COMMAND% "%YII_PATH%yiic" %*
-
+@echo off
+
+rem -------------------------------------------------------------
+rem Yii command line script for Windows.
+rem
+rem This is the bootstrap script for running yiic on Windows.
+rem
+rem @author Qiang Xue <qiang.xue@gmail.com>
+rem @link http://www.yiiframework.com/
+rem @copyright Copyright &copy; 2008 Yii Software LLC
+rem @license http://www.yiiframework.com/license/
+rem @version $Id$
+rem -------------------------------------------------------------
+
+@setlocal
+
+set YII_PATH=%~dp0
+
+if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
+
+"%PHP_COMMAND%" "%YII_PATH%yiic" %*
+
@endlocal

0 comments on commit b111091

Please sign in to comment.