insert language in orders.db

This commit is contained in:
Enno Rehling 2019-06-08 12:18:26 +02:00
parent 01fda5d3d7
commit fdde7c8c44
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# example: orders-accept 2 de < mail.txt
game="$1"
lang="$2"
[ -z "$ERESSEA" ] && ERESSEA="$HOME/eressea"
SCRIPT=$(readlink -f "$0")
@ -21,5 +22,5 @@ filename=$(basename "$ACCEPT_FILE")
email="$ACCEPT_MAIL"
if [ -d "$ERESSEA/orders-php" ]
then
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$email"
php "$ERESSEA/orders-php/cli.php" insert "$filename" "$email" "$lang"
fi