aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/upload.php b/actions/upload.php
index d9129aef7..dd50d2381 100644
--- a/actions/upload.php
+++ b/actions/upload.php
@@ -6,8 +6,8 @@
*/
global $CONFIG;
- include dirname(dirname(__FILE__)) . "/lib/resize.php";
- include dirname(dirname(__FILE__)) . "/lib/watermark.php";
+ include_once dirname(dirname(__FILE__)) . "/lib/resize.php";
+ include_once dirname(dirname(__FILE__)) . "/lib/watermark.php";
// Get common variables
$access_id = (int) get_input("access_id");