Author: cedric@yterium.com
Date: 2009-05-22 14:00:29 +0200 (ven, 22 mai 2009)
New Revision: 14033
Log:
recuperer_page($url,$nom_de_fichier) ecrit directement le contenu de l'url $url dans le fichier $nom_de_fichier, avec une consommation memoire limitee.
Application a copie_locale, charger_plugin, et accessoirement a math.
la constante _COPIE_LOCALE_MAX_SIZE passe a 16Mo car on n'a plus de probleme de taille memoire du coup.
Modified:
spip/ecrire/action/charger_plugin.php
spip/ecrire/inc/distant.php
spip/ecrire/inc/math.php
spip/ecrire/inc/utils.php