summaryrefslogtreecommitdiff
path: root/prado-cli.bat
diff options
context:
space:
mode:
authorhaertl.mike <>2008-12-05 13:48:56 +0000
committerhaertl.mike <>2008-12-05 13:48:56 +0000
commit6f9ee03f2a58bd1c6c7afe738b553f1176464137 (patch)
tree9f16835c77a7e4c017d94ae27fad41d949da7ac9 /prado-cli.bat
parent4285d37b753c2744946058bb0a94df05cf7bfef7 (diff)
Moved prado-cli/prado-cli.bat to framework folder
Diffstat (limited to 'prado-cli.bat')
-rw-r--r--prado-cli.bat39
1 files changed, 0 insertions, 39 deletions
diff --git a/prado-cli.bat b/prado-cli.bat
deleted file mode 100644
index b3fe9f3e..00000000
--- a/prado-cli.bat
+++ /dev/null
@@ -1,39 +0,0 @@
-@echo off
-
-rem *************************************************************
-rem ** CLI for Windows based systems (based on phing.bat)
-rem *************************************************************
-
-rem This script will do the following:
-rem - check for PHP_COMMAND env, if found, use it.
-rem - if not found detect php, if found use it, otherwise err and terminate
-
-if "%OS%"=="Windows_NT" @setlocal
-
-rem %~dp0 is expanded pathname of the current script under NT
-set PRADO_DIR=%~dp0
-
-goto init
-
-:init
-
-if "%PHP_COMMAND%" == "" goto no_phpcommand
-
-IF EXIST ".\framework\prado-cli.php" (
- %PHP_COMMAND% -d html_errors=off -d open_basedir= -q ".\framwork\prado-cli.php" %1 %2 %3 %4 %5 %6 %7 %8 %9
-) ELSE (
- %PHP_COMMAND% -d html_errors=off -d open_basedir= -q "%PRADO_DIR%\framework\prado-cli.php" %1 %2 %3 %4 %5 %6 %7 %8 %9
-)
-goto cleanup
-
-:no_phpcommand
-rem echo ------------------------------------------------------------------------
-rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
-rem echo executable (e.g. C:\PHP\php.exe). (assuming php.exe on PATH)
-rem echo ------------------------------------------------------------------------
-set PHP_COMMAND=php.exe
-goto init
-
-:cleanup
-if "%OS%"=="Windows_NT" @endlocal
-rem pause