From 1ac9a1847e2ae72b22381af5ca261bb3eb96d89c Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Thu, 16 Mar 2006 20:03:11 +0000 Subject: [PATCH] =?UTF-8?q?Depuis=20le=20demenagement=20des=20icones=20([5?= =?UTF-8?q?624]),=20ce=20n'est=20pas=20seulement=20pour=20IMG/=20que=20ce?= =?UTF-8?q?=20n'est=20pas=20la=20peine=20de=20recopier.=20Il=20y=20a=20peu?= =?UTF-8?q?t-etre=20encore=20d'autres=20cas=20=C3=A0=20optimiser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc/distant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 140f8b7e95..2c6212c7fe 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -27,7 +27,7 @@ function copie_locale($source, $mode='auto') { $local = fichier_copie_locale($source); - if ($source != $local) { + if (($source != $local) AND (preg_match(',^\w+://,', $source))) { if (($mode=='auto' AND !@file_exists($local)) OR $mode=='force') { $contenu = recuperer_page($source); -- GitLab