From c8eceb018fde4405e61d0ecf10ca1dfdff87976d Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Tue, 17 Jun 2008 18:38:51 +0000
Subject: [PATCH] il faut vivre avec son temps : de nos jours, les images
 syndiquees font facilement plus d'1Mo

---
 ecrire/inc/distant.php | 2 +-
 ecrire/inc/utils.php   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php
index 55ad049e7d..e95a3e6b07 100644
--- a/ecrire/inc/distant.php
+++ b/ecrire/inc/distant.php
@@ -11,7 +11,7 @@
 \***************************************************************************/
 
 if (!defined("_ECRIRE_INC_VERSION")) return;
-@define('_COPIE_LOCALE_MAX_SIZE',1048576); // poids (inc/utils l'a fait)
+//@define('_COPIE_LOCALE_MAX_SIZE',2097152); // poids (inc/utils l'a fait)
 //
 // Cree au besoin la copie locale d'un fichier distant
 // mode = 'test' - ne faire que tester
diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php
index 0473b68a06..3893649daa 100644
--- a/ecrire/inc/utils.php
+++ b/ecrire/inc/utils.php
@@ -1106,7 +1106,7 @@ function spip_initialisation($pi=NULL, $pa=NULL, $ti=NULL, $ta=NULL) {
 	define('_IMG_MAX_WIDTH', 0); # largeur en pixels
 	define('_IMG_MAX_HEIGHT', 0); # hauteur en pixels
 
-	define('_COPIE_LOCALE_MAX_SIZE',1048576); // poids en octet
+	define('_COPIE_LOCALE_MAX_SIZE',2097152); // poids en octet
 
 	// Le charset par defaut lors de l'installation
 	define('_DEFAULT_CHARSET', 'utf-8');
-- 
GitLab