aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 3022072e1..3d5d823c3 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1664,6 +1664,8 @@ SELECT
merge_chunks($file_path, $params['original_sum'], $type);
chmod($file_path, 0644);
+
+ include_once(PHPWG_ROOT_PATH.'admin/include/functions_upload.inc.php');
$image_id = add_uploaded_file(
$file_path,