mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user