diff options
Diffstat (limited to 'actions/upload.php')
-rw-r--r-- | actions/upload.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/actions/upload.php b/actions/upload.php index 6a941fa66..11290a1d8 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -6,9 +6,9 @@ */
global $CONFIG;
- include_once dirname(dirname(__FILE__)) . "/lib/resize.php";
- include_once dirname(dirname(__FILE__)) . "/lib/watermark.php";
- include_once dirname(dirname(__FILE__)) . "/lib/exif.php";
+ include dirname(dirname(__FILE__)) . "/lib/resize.php";
+ include dirname(dirname(__FILE__)) . "/lib/watermark.php";
+ include dirname(dirname(__FILE__)) . "/lib/exif.php";
// Get common variables
$access_id = (int) get_input("access_id");
@@ -158,13 +158,13 @@ tp_watermark($thumbs);
- //keep one file handy so we can add a notice to the river
- if(!$file_for_river) {
- $file_for_river = $file;
- }
-
} // end of image library selector
+ //keep one file handy so we can add a notice to the river if single image option selected
+ if(!$file_for_river) {
+ $file_for_river = $file;
+ }
+
//get and store the exif data
td_get_exif($file);
array_push($uploaded_images, $file->guid);
|