diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 55ad049e7d84d89db5bfd3889939d949ba2f608b..e95a3e6b07f64db615a1f0c514b412e3db2d253d 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 0473b68a068dc8cc128c53e35bd8f191ec2c61b1..3893649daa41422c5a06e90eabb4cb110ba3d069 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');