Update empty.sh

This commit is contained in:
FusionPBX 2017-05-15 18:28:04 -06:00 committed by GitHub
parent 897c0cd24b
commit 1d57128545
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,15 @@
db_host=127.0.0.1
db_port=5432
#move to script directory so all relative paths work
cd "$(dirname "$0")"
#includes
. ./config.sh
#set the database password
export PGPASSWORD=$database_password
#set the date
now=$(date +%Y-%m-%d)