From: Cash Costello Date: Sat, 22 Aug 2009 15:51:56 +0000 (+0000) Subject: move upgrade to actions - not a true registered action yet X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f464b98a26cac9d2ec27b1f6ad249dc1074ff4fb;p=lorea%2Felgg.git move upgrade to actions - not a true registered action yet --- diff --git a/upgrade.php b/actions/upgrade.php similarity index 91% rename from upgrade.php rename to actions/upgrade.php index 7fc3187d6..0ff04dadf 100644 --- a/upgrade.php +++ b/actions/upgrade.php @@ -6,7 +6,7 @@ * *********************************************/ - include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"; $result = true; diff --git a/views/default/tidypics/settings.php b/views/default/tidypics/settings.php index 774dc35bd..9e082d9ab 100644 --- a/views/default/tidypics/settings.php +++ b/views/default/tidypics/settings.php @@ -4,7 +4,7 @@ global $CONFIG; $system_url = $CONFIG->wwwroot . 'mod/tidypics/pages/server_analysis.php'; - $upgrade_url = $CONFIG->wwwroot . 'mod/tidypics/upgrade.php'; + $upgrade_url = $CONFIG->wwwroot . 'mod/tidypics/actions/upgrade.php'; $upgrade = false; if (!get_subtype_class('object', 'image') || !get_subtype_class('object', 'album'))