-export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
-source "$WORKDIR/shared_site_mgr.sh"
-
-# get our defaults.
-source "$WORKDIR/site_avenger.config"
+export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.
# find proper webroot where the site will be initialized.
if [ -z "$app_dirname" ]; then
# no dir was passed, so guess it.
# find proper webroot where the site will be initialized.
if [ -z "$app_dirname" ]; then
# no dir was passed, so guess it.
# simplistic approach here; just go to the folder and pull the changes.
pushd "$full_app_dir" &>/dev/null
# simplistic approach here; just go to the folder and pull the changes.
pushd "$full_app_dir" &>/dev/null