diff --git a/ecrire/inc_base.php3 b/ecrire/inc_base.php3 index 8d3f062ea1fefb36bc14652e69d40cfe98e49506..ef49912961ceb3ac92ede115614302a9ab926f05 100644 --- a/ecrire/inc_base.php3 +++ b/ecrire/inc_base.php3 @@ -482,7 +482,7 @@ function remplir_type_documents() { "('psd', 'Photoshop', 'image'), ". "('tif', 'TIFF', 'image')"; spip_query($query); - + $query = "INSERT IGNORE spip_types_documents (extension, titre, inclus) VALUES ". "('aiff', 'AIFF', 'embed'), ". "('asf', 'Windows Media', 'embed'), ". @@ -505,6 +505,8 @@ function remplir_type_documents() { "('ram', 'RealAudio', 'embed'), ". "('rm', 'RealAudio', 'embed'), ". "('rtf', 'RTF', 'non'), ". + "('sdd', 'OpenOffice', 'non'), ". + "('sdw', 'OpenOffice Impress', 'non'), ". "('sit', 'Stuffit', 'non'), ". "('swf', 'Flash', 'embed'), ". "('tgz', 'TGZ', 'non'), ". @@ -1044,4 +1046,4 @@ function maj_base() { spip_query("REPLACE spip_meta (nom, valeur) VALUES ('version_installee', '$spip_version')"); } -?> \ No newline at end of file +?>