init.bat 514 Bytes
Newer Older
1 2 3
@echo off

rem -------------------------------------------------------------
Alexander Makarov committed
4
rem  Yii command line init script for Windows.
5 6 7 8 9 10 11 12 13 14 15 16 17
rem
rem  @author Qiang Xue <qiang.xue@gmail.com>
rem  @link http://www.yiiframework.com/
rem  @copyright Copyright &copy; 2012 Yii Software LLC
rem  @license http://www.yiiframework.com/license/
rem -------------------------------------------------------------

@setlocal

set YII_PATH=%~dp0

if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe

Alexander Makarov committed
18
"%PHP_COMMAND%" "%YII_PATH%init" %*
19 20

@endlocal