6 REM This source file is subject to the new BSD license that is bundled
7 REM with this package in the file LICENSE.txt.
8 REM It is also available through the world-wide-web at this URL:
9 REM http://framework.zend.com/license/new-bsd
10 REM If you did not receive a copy of the license and are unable to
11 REM obtain it through the world-wide-web, please send an email
12 REM to license@zend.com so we can send you a copy immediately.
15 REM Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
16 REM http://framework.zend.com/license/new-bsd New BSD License
19 REM Test to see if this was installed via pear
21 SET TMPZTMPZTMP=%ZTMPZTMPZTMPZ%p_bin@
23 FOR %%x IN ("@php_bin@") DO (if %%x=="%TMPZTMPZTMP%" GOTO :NON_PEAR_INSTALLED)
28 REM Assume php.exe is executable, and that zf.php will reside in the
29 REM same file as this one
35 REM Assume this was installed via PEAR and use replacements php_bin & php_dir
41 SET ZF_SCRIPT=%PHP_DIR%\zf.php
42 "%PHP_BIN%" -d safe_mode=Off -f "%ZF_SCRIPT%" -- %*