svn: /pear/packages/Payment_DTA/trunk/docs/examples/ show_dta.php

From: Date: Thu, 18 Feb 2010 11:38:00 +0000
Subject: svn: /pear/packages/Payment_DTA/trunk/docs/examples/ show_dta.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-58796@lists.php.net to get a copy of this message
mschuett Thu, 18 Feb 2010 11:38:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295233 Log: fix assignment and include path Changed paths: U pear/packages/Payment_DTA/trunk/docs/examples/show_dta.php Modified: pear/packages/Payment_DTA/trunk/docs/examples/show_dta.php =================================================================== --- pear/packages/Payment_DTA/trunk/docs/examples/show_dta.php 2010-02-18 11:33:34 UTC (rev 295232) +++ pear/packages/Payment_DTA/trunk/docs/examples/show_dta.php 2010-02-18 11:38:00 UTC (rev 295233) @@ -16,8 +16,7 @@ * @link http://pear.php.net/package/Payment_DTA */ -//require_once "Payment/DTA.php"; -require_once "../../DTA.php"; +require_once "Payment/DTA.php"; $dtafilestring = '0128AGK1605000000000000SENDERS NAME 300110 3503'. @@ -86,8 +85,9 @@ print "<p class='status'>Lese DTA-Datei ...</p>"; $dta = new DTA($dtafilestring); - - if ($e = $dta->getParsingError()) { + + $e = $dta->getParsingError(); + if ($e) { if (get_class($e) == "Payment_DTA_FatalParseException") { print "<p class='status'>Schwerer Fehler: $e</p></body></html>"; die();

« previous php.pear.cvs (#58796) next »