[SPIP Zone] r3314 - /_plugins_/_email_/spip-lettres/inc/lettres_fonctions.php

Author: pierre.basson@gmail.com
Date: Wed May 17 01:23:32 2006
New Revision: 3314

Log:
correction chemin dans le mail de test

Modified:
    _plugins_/_email_/spip-lettres/inc/lettres_fonctions.php

Modified: _plugins_/_email_/spip-lettres/inc/lettres_fonctions.php

--- _plugins_/_email_/spip-lettres/inc/lettres_fonctions.php (original)
+++ _plugins_/_email_/spip-lettres/inc/lettres_fonctions.php Wed May 17 01:23:32 2006
@@ -556,6 +556,9 @@
     $charset = lire_meta('charset');
     $email_webmaster = lire_meta('email_webmaster');
     $nom_site = lire_meta('nom_site');
+ $url_site = lire_meta('adresse_site');
+
+ $message_html = ereg_replace('../IMG', "$url_site/IMG", $message_html);

     $requete_auteurs = 'SELECT A.email
               FROM spip_auteurs AS A