diff --git a/xtbackup.sh b/xtbackup.sh new file mode 100755 index 0000000..331eee9 --- /dev/null +++ b/xtbackup.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +php_bin=`which php` +xtbackup_dir=`readlink -f $0` +xtbackup_dir=`dirname $xtbackup_dir` + +cd "$xtbackup_dir" +$php_bin -d open_basedir="/tmp:$xtbackup_dir" -f xtbackup.php -- $@