feature 2531: bug fixed, need to be sure functions_upload.inc.php is loaded before using add_uploaded_file()

git-svn-id: http://piwigo.org/svn/branches/2.3@12723 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2011-12-13 13:56:19 +00:00
parent 094bb7e682
commit 5dca66c7d1

View File

@@ -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,