[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / ecrire / inc / mail.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2014 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
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 \***************************************************************************/
12
13 ##
14 ## Module de compatibilite ascendante : desormais inc/envoyer_mail
15 ##
16
17 if (!defined('_ECRIRE_INC_VERSION')) return;
18
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);
26 }
27 }
28
29
30 ?>