82c12be15b2993dbcc11e056e9f504151e3ff30b
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2012 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
14 ## Module de compatibilite ascendante : desormais inc/envoyer_mail
17 if (!defined('_ECRIRE_INC_VERSION')) return;
19 if (!function_exists('envoyer_mail')) {
20 define('_FUNCTION_ENVOYER_MAIL', charger_fonction('envoyer_mail', 'inc'));
21 // http://doc.spip.org/@envoyer_mail
22 function envoyer_mail() {
23 $args = func_get_args();
24 if (_FUNCTION_ENVOYER_MAIL
)
25 return call_user_func_array(_FUNCTION_ENVOYER_MAIL
, $args);