From e2c6c73375cde729df71ffa256a0b329b973979d Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Tue, 4 Apr 2006 22:09:25 +0000 Subject: [PATCH] - use preferred lowercase define() in PHP generation --- plc_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.43.0