rename init to conf for inital configuration data
[monitor.git] / phpconfig.py
1 #!/usr/bin/python
2
3 import config
4
5 print "<?php"
6 for attr in dir(config):
7         val = config.__getattribute__(attr)
8         if attr[0].isupper() and attr[1].isupper():
9                 print "define('%s', '%s'); " % (attr, val)
10 print "?>"