From 8ecca5cd557a6cd01229d2105fea29422d72b7ce Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Thu, 22 Mar 2007 21:09:42 +0000
Subject: [PATCH] "include manquant"

---
 ecrire/inc/distant.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php
index e2f307fa04..72fa921fe5 100644
--- a/ecrire/inc/distant.php
+++ b/ecrire/inc/distant.php
@@ -254,6 +254,7 @@ function recuperer_page($url, $munge_charset=false, $get_headers=false,
 // http://doc.spip.org/@nom_fichier_copie_locale
 function nom_fichier_copie_locale($source, $extension) {
 
+	include_spip('inc/getdocument');
 	$d = creer_repertoire_documents('distant'); # IMG/distant/
 	$d = sous_repertoire($d, $extension); # IMG/distant/pdf/
 
-- 
GitLab