Index: branches/5.1.x/core/units/files/files_config.php =================================================================== diff -u -N -r13159 -r13545 --- branches/5.1.x/core/units/files/files_config.php (.../files_config.php) (revision 13159) +++ branches/5.1.x/core/units/files/files_config.php (.../files_config.php) (revision 13545) @@ -1,6 +1,6 @@ 'string', 'max_len' => 255, 'formatter' => 'kUploadFormatter', 'upload_dir' => ITEM_FILES_PATH, 'include_path' => false, 'size_field' => 'Size', 'content_type_field' => 'MimeType', 'max_size' => 50000000, - 'allowed_types' => Array ('video/x-flv', 'video/quicktime', 'video/x-sgi-movie', 'video/mpeg', 'video/x-msvideo', 'video/x-msvideo', 'application/x-shockwave-flash', 'video/x-fli', 'application/pdf', 'application/msexcel', 'application/vnd.ms-excel', 'application/msword', 'application/mspowerpoint', 'application/zip', 'plain/text', 'application/x-gzip'), + 'allowed_types' => Array ( + 'video/x-flv', 'video/quicktime', 'video/x-sgi-movie', 'video/mpeg', + 'video/x-msvideo', 'video/x-msvideo', 'application/x-shockwave-flash', 'video/x-fli', + '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' => '' ), 'Size' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), - 'Status' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), + 'Status' => Array ( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', + 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, + 'not_null' => 1, 'default' => 1, + ), 'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), 'CreatedById' => Array ('type' => 'int', 'not_null' => 1, 'default' => -1), 'MimeType' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''),