aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/upload.php2
-rw-r--r--pages/edit_multiple.php (renamed from edit_multi.php)3
2 files changed, 3 insertions, 2 deletions
diff --git a/actions/upload.php b/actions/upload.php
index d5fb7d802..f189e3777 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -242,6 +242,6 @@
//forward to multi-image edit page
- forward($CONFIG->wwwroot . 'mod/tidypics/edit_multi.php?files=' . implode('-', $uploaded_images));
+ forward($CONFIG->wwwroot . 'mod/tidypics/pages/edit_multiple.php?files=' . implode('-', $uploaded_images));
?>
diff --git a/edit_multi.php b/pages/edit_multiple.php
index 570245595..0c9295054 100644
--- a/edit_multi.php
+++ b/pages/edit_multiple.php
@@ -2,9 +2,10 @@
/**
* Tidypics: Edit the properties of multiple images
*
+ * Called after upload only
*/
- include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+ include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php";
gatekeeper();
set_context('photos');