#!/bin/sh
_file="$(pwd)/$1"
if [ ! -f "$_file" ] ; then
if [ -f "$(pwd)/wp-dev-config" ] ; then
_file="$(pwd)/wp-dev-config"
else
echo "No configuration file supplied and no default ('wp-dev-config') found."
exit 1
fi
. "$_file"