migrate groupes.php also
[platal.git] / hooks / banana.inc.php
index 669312c..cd1a9bf 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -71,7 +71,7 @@ function banana_subscribe($forlife, $uid, $promo, $password)
        list($effau, $effid) = $res->fetchOneRow();
        if (5*$effau>$effid) { // + de 20% d'inscrits
            require_once("xorg.mailer.inc.php");
-           $mymail = new XOrgMailer('forums.promo.tpl');
+           $mymail = new XOrgMailer('mails/forums.promo.tpl');
            $mymail->assign('promo', $promo);
            $mymail->send();
        }