diff options
-rw-r--r-- | actions/upgrade.php (renamed from upgrade.php) | 2 | ||||
-rw-r--r-- | views/default/tidypics/settings.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.php b/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'))
|