OSDN Git Service

- なげやり便利関数file_exists_ex(), is_absolute_path()を追加
[ethna/ethna.git] / bin / ethna.sh
1 #!/bin/sh
2 #
3 #   ethna.sh
4 #
5 #   simple command line gateway
6 #
7 #   $Id$
8 #
9
10 if [ -z "$ETHNA_HOME" ];
11 then
12     ETHNA_HOME="/usr/local/lib/php/Ethna"
13 fi
14
15 if (test -z "$PHP_COMMAND");
16 then
17     export PHP_COMMAND=php
18 fi
19
20 if (test -z "$PHP_CLASSPATH");
21 then
22     PHP_CLASSPATH=$ETHNA_HOME/lib
23     export PHP_CLASSPATH
24 fi
25
26 $PHP_COMMAND -d html_errors=off -qC $ETHNA_HOME/bin/ethna_handle.php $*