From: Mark Huang Date: Tue, 4 Apr 2006 22:09:25 +0000 (+0000) Subject: - use preferred lowercase define() in PHP generation X-Git-Tag: myplc-0_4-rc1~97 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=e2c6c73375cde729df71ffa256a0b329b973979d - use preferred lowercase define() in PHP generation --- diff --git a/plc_config.py b/plc_config.py index b3ae90d..91dbee1 100644 --- a/plc_config.py +++ b/plc_config.py @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id$ +# $Id: plc_config.py,v 1.1.1.1 2006/03/27 17:36:46 mlhuang Exp $ # import xml.dom.minidom @@ -675,7 +675,7 @@ DO NOT EDIT. This file was automatically generated at buf.writelines(["// " + line + os.linesep for line in comments]) if value is None: value = 'NULL' - buf.write("DEFINE('%s', %s);" % (id, value) + os.linesep) + buf.write("define('%s', %s);" % (id, value) + os.linesep) buf.write("?>" + os.linesep)