MantisBT: master 27f5b4f1

Author Committer Branch Timestamp Parent
dregad dregad master 2012-09-19 05:30 master 27aa2b80
Affected Issues  0014723: Force validation of upload path if file_upload_method == DISK
Changeset

Force validation of upload path if file_upload_method != DATABASE

Prior to this, the upload path would not be checked if it was empty
(ie. defaulting to $g_absolute_path_default_upload_folder),
which could cause issues if that directory was missing or read-only.

Checking this early allows catching any errors before users perform
actual operations on file attachments.

Fixes 0014723

mod - core/project_api.php Diff File