X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fpowerup.sh;h=998fcad57b4aae9517737ab6ea75bacb654b186e;hb=f2c381af4be9725e6aba384fc08de228666f6e63;hp=aa1c4425b4944d9e2e8c2078b848b5897513b12d;hpb=170a8e062d9283e65716e7aa55930ade13a66f7a;p=feisty_meow.git diff --git a/scripts/site_avenger/powerup.sh b/scripts/site_avenger/powerup.sh index aa1c4425..998fcad5 100644 --- a/scripts/site_avenger/powerup.sh +++ b/scripts/site_avenger/powerup.sh @@ -5,8 +5,6 @@ # This script "powers up" a cakephp site by running the database migrations, # cleaning out the ORM cache, and fixing file permissions. -# Note that the mysql database must already exist and allow permissions to -# the configured username/password in config/app.php. # This script is currently highly specific to site avenger. # General Info: @@ -23,10 +21,6 @@ # start with. The concept of the theme comes from cakephp. 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" ############################ @@ -57,6 +51,8 @@ if [ "$app_dirname" == "-help" -o "$app_dirname" == "--help" ]; then print_instructions fi +source "$WORKDIR/shared_site_mgr.sh" + sep check_application_dir "$APPLICATION_DIR"