<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,12 +35,14 @@ def setup_infobase():
     d = config.db_parameters
     web.config.db_parameters = dict(
         dbn=d.get('engine', 'postgres'),
-        host=d.get('host', 'localhost'),
         db=d['database'],
         user=d['username'],
         pw=d.get('password') or ''
     )
 
+	if 'host' in d:
+		web.config.db_parameters['host'] = d['host']
+
     for p in plugins:
         m = getattr(p, 'init_plugin', None)
         m and m()</diff>
      <filename>scripts/infobase_server</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8eaf6ff163159dd1de77a39498fd3e5aaf9ae84b</id>
    </parent>
  </parents>
  <author>
    <name>Anand Chitipothu</name>
    <email>anandology@gmail.com</email>
  </author>
  <url>http://github.com/infogami/infogami/commit/7795f3f475c943f8449879cf56a6743d821cbbb5</url>
  <id>7795f3f475c943f8449879cf56a6743d821cbbb5</id>
  <committed-date>2009-07-02T02:35:35-07:00</committed-date>
  <authored-date>2009-07-02T02:35:35-07:00</authored-date>
  <message>don't assume host as localhost if not specified.</message>
  <tree>13d908fe86f7a46f1d064d90652598803abc72a7</tree>
  <committer>
    <name>Anand Chitipothu</name>
    <email>anandology@gmail.com</email>
  </committer>
</commit>
