<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
/* sort en affichant une erreur */
function cb_erreur($text) {
+ global $globals;
$mymail = new PlMailer();
$mymail->addTo($globals->money->email);
$mymail->setFrom("webmaster@" . $globals->mail->domain);
/* sort en affichant une erreur */
function paypal_erreur($text, $send=true)
{
- global $page, $erreur;
+ global $page, $erreur, $globals;
if ($erreur) return;
$erreur = $text;
if (!$send) return;