X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fpowerup.sh;h=998fcad57b4aae9517737ab6ea75bacb654b186e;hb=84586368923f88740f681adeb1a80eef6d647828;hp=60c277836d3e9be2d2fd2d7a172c384161dd6bf3;hpb=306dbab38a3af18dac7e13c8e476cf0a95d78c76;p=feisty_meow.git diff --git a/scripts/site_avenger/powerup.sh b/scripts/site_avenger/powerup.sh index 60c27783..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,7 +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" ############################ @@ -54,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"