#!/bin/sh

SCRIPT=$(readlink -f $0)
DIR=$(dirname $SCRIPT)
PHP_BIN=$(which php) 

$PHP_BIN -d safe_mode=Off -f $DIR/mage.php -- $@