From: andi <bin...@li...> - 2001-09-12 18:11:47
|
andi Wed Sep 12 11:11:41 2001 EDT Modified files: /r2/binarycloud/base/utils xml2php.php Log: Changes to match php.xml format Index: r2/binarycloud/base/utils/xml2php.php diff -u r2/binarycloud/base/utils/xml2php.php:1.6 r2/binarycloud/base/utils/xml2php.php:1.7 --- r2/binarycloud/base/utils/xml2php.php:1.6 Thu Aug 23 17:07:08 2001 +++ r2/binarycloud/base/utils/xml2php.php Wed Sep 12 11:11:41 2001 @@ -2,7 +2,7 @@ <?php // {{{ Header /* - * -File $Id: xml2php.php,v 1.6 2001/08/24 00:07:08 alex Exp $ + * -File $Id: xml2php.php,v 1.7 2001/09/12 18:11:41 andi Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, Intacct Corp. * -Author odysseas tsatalos, ody...@ya... @@ -23,7 +23,7 @@ $xmlfile = $argv[0]; $outfile = $argv[1]; // _small_stupid_hack_ This should be done in makefile. Andris Spruds (an...@do...) -$outfile=ereg_replace(".xml.php$",".php",$outfile); +$outfile=ereg_replace(".php.xml$",".php",$outfile); // }}} // Process {{{ |