X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment%2Fmoney.inc.php;h=94e71ff80296455a306d06e5f799a0584c87b3fc;hb=1d10d3fd659fa8eb7c663d6bb599bc8bbc0feeb3;hp=595e9a9b0a994e57aabf98d7733bcec416ef87f5;hpb=2c784d41fd50f26453a1a590e427b2ec4640ac74;p=platal.git diff --git a/modules/payment/money.inc.php b/modules/payment/money.inc.php index 595e9a9..94e71ff 100644 --- a/modules/payment/money.inc.php +++ b/modules/payment/money.inc.php @@ -19,8 +19,6 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -require_once dirname(__FILE__).'/../classes/Flagset.php'; - class Payment { // {{{ properties @@ -52,8 +50,6 @@ class Payment $this->montant_min = (float)$this->montant_min; $this->montant_max = (float)$this->montant_max; $this->flags = new Flagset($flags); - - return $link; } // }}} @@ -76,7 +72,7 @@ class Payment function init($val, &$meth) { - require_once('money/'.$meth->inc); + require_once dirname(__FILE__).'/money/'.$meth->inc; $this->api = new $api($val); }