Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/sh# first find which PHP binary to useif test "x$PHP_PEAR_PHP_BIN" != "x"; thenPHP="$PHP_PEAR_PHP_BIN"elseif test "@php_bin@" = '@'php_bin'@'; thenPHP=phpelsePHP="@php_bin@"fifi# then look for the right pear include dirif test "x$PHP_PEAR_INSTALL_DIR" != "x"; thenINCDIR=$PHP_PEAR_INSTALL_DIRINCARG="-d include_path=$PHP_PEAR_INSTALL_DIR"elseif test "@php_dir@" = '@'php_dir'@'; thenINCDIR=`dirname $0`INCARG=""elseINCDIR="@php_dir@"INCARG="-d include_path=@php_dir@"fifiexec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" $INCDIR/pearcmd.php "$@"