database add page

This commit is contained in:
Serghey Rodin 2012-06-20 16:58:16 +03:00
commit 9dd6022057
11 changed files with 262 additions and 29 deletions

View file

@ -1,6 +1,6 @@
# Get database host
get_next_dbhost() {
if [ -z "$host" ]; then
if [ -z "$host" ] || [ "$host" == 'default' ]; then
IFS=$'\n'
host='EMPTY_DB_HOST'
config="$VESTA/conf/$type.conf"