yii.bat 515 Bytes
Newer Older
Alexander Makarov committed
1 2 3
@echo off

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

@setlocal

set YII_PATH=%~dp0

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

Qiang Xue committed
18
"%PHP_COMMAND%" "%YII_PATH%yii" %*
Alexander Makarov committed
19

20
@endlocal