source global env prior to app env. closes #931

This commit is contained in:
Michael Hobbs
2015-02-03 13:46:56 -08:00
parent 89df6eeded
commit 5fb30ab934
5 changed files with 19 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ case "$1" in
DOKKU_APP_LISTEN_IP=$(< "$DOKKU_ROOT/$APP/IP")
fi
[[ -f "$DOKKU_ROOT/ENV" ]] && source $DOKKU_ROOT/ENV
[[ -f "$DOKKU_ROOT/$APP/ENV" ]] && source $DOKKU_ROOT/$APP/ENV
if [[ ! -n "$NO_VHOST" ]] && [[ -f "$DOKKU_ROOT/$APP/VHOST" ]]; then