[SPIP] ~v3.0.20-->v3.0.25
[lhc/web/clavette_www.git] / www / plugins-dist / medias / inc / documents.php
index 354f14c..7d7aaf4 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2014                                                *
+ *  Copyright (c) 2001-2016                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -44,7 +44,7 @@ function contenu_document($arg, $charset='')
        $r = spip_file_get_contents($f);
 
        if ($charset) {
-               include_spip('inc/charset');
+               include_spip('inc/charsets');
                if ($charset !== 'auto') {
                        $r = importer_charset($r, $charset);
                } elseif ($GLOBALS['meta']['charset'] == 'utf-8' AND !is_utf8($r))