Index: branches/RC/core/units/files/files_config.php =================================================================== diff -u -N -r9631 -r10915 --- branches/RC/core/units/files/files_config.php (.../files_config.php) (revision 9631) +++ branches/RC/core/units/files/files_config.php (.../files_config.php) (revision 10915) @@ -57,7 +57,7 @@ 'FileName' => Array ('type' => 'string', 'max_len' => 255, 'required' => 1, 'not_null' => 1, 'default' => ''), 'FilePath' => Array ( 'type' => 'string', 'max_len' => 255, - 'formatter' => 'kUploadFormatter', 'upload_dir' => '/kernel/downloads/', 'include_path' => false, + 'formatter' => 'kUploadFormatter', 'upload_dir' => ITEM_FILES_PATH, 'include_path' => false, 'size_field' => 'Size', 'content_type_field' => 'MimeType', 'max_size' => 50000000, 'allowed_types' => Array ('application/pdf', 'application/msexcel', 'application/vnd.ms-excel', 'application/msword', 'application/mspowerpoint', 'application/zip', 'plain/text', 'application/x-gzip'), 'not_null' => 1, 'required' => 1, 'default' => ''