From 4b9718ce5c87e7a4de5d520d0f9bf797671f41dd Mon Sep 17 00:00:00 2001 From: "kent1@arscenic.info" <> Date: Thu, 25 Apr 2013 15:14:21 +0000 Subject: [PATCH] Ajout de la prise en compte de l'extension ".tar" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version 2.8.14 Version de schéma 1.2.4 --- base/typedoc.php | 2 ++ medias_administrations.php | 5 ++++- paquet.xml | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/base/typedoc.php b/base/typedoc.php index 5780e1b4..089ec7a8 100644 --- a/base/typedoc.php +++ b/base/typedoc.php @@ -147,6 +147,7 @@ $tables_documents = array( 'sxc' => 'OpenOffice.org Calc', 'sxi' => 'OpenOffice.org Impress', 'sxw' => 'OpenOffice.org', + 'tar' => 'Tar', 'tex' => 'LaTeX', 'tgz' => 'TGZ', 'torrent' => 'BitTorrent', @@ -329,6 +330,7 @@ $tables_mime = array( 'sxc' => 'application/vnd.sun.xml.calc', 'sxi' => 'application/vnd.sun.xml.impress', 'sxw' => 'application/vnd.sun.xml.writer', + 'tar' => 'application/x-tar', 'tex' => 'text/x-tex', 'tgz' => 'application/x-gtar', 'torrent' => 'application/x-bittorrent', diff --git a/medias_administrations.php b/medias_administrations.php index 16ecaecc..b1509e59 100644 --- a/medias_administrations.php +++ b/medias_administrations.php @@ -137,7 +137,10 @@ function medias_upgrade($nom_meta_base_version,$version_cible){ array('sql_alter',"TABLE spip_documents CHANGE credits credits varchar(255) DEFAULT '' NOT NULL"), array('sql_alter',"TABLE spip_documents CHANGE statut statut varchar(10) DEFAULT '0' NOT NULL"), ); - + $maj['1.2.4'] = array( + // ajout de tar + array('creer_base_types_doc') + ); include_spip('base/upgrade'); include_spip('base/medias'); maj_plugin($nom_meta_base_version, $version_cible, $maj); diff --git a/paquet.xml b/paquet.xml index 446716a4..ef4a26bb 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,11 +1,11 @@ <paquet prefix="medias" categorie="multimedia" - version="2.8.13" + version="2.8.14" etat="stable" compatibilite="[3.0.0;3.1.*]" logo="prive/themes/spip/images/portfolio-32.png" - schema="1.2.3" + schema="1.2.4" > <nom>Medias</nom> -- GitLab