~grubng-dev/grubng/tools-urlsdb

« back to all changes in this revision

Viewing changes to Config.cs

  • Committer: thindil
  • Date: 2011-04-18 16:59:49 UTC
  • Revision ID: thindil2@gmail.com-20110418165949-uarst200sahg4qel
added automatic disabling upload server during maintenance work

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                                xmlw.WriteElementString("solrusername", "user");
49
49
                                xmlw.WriteElementString("solrpassword", "password");
50
50
                                xmlw.WriteElementString("uploadaddress", "http://grub.silc.org.ua:8080");
51
 
                                xmlw.WriteElementString("uploaduser", "user");
52
 
                                xmlw.WriteElementString("uploadpass", "password");
 
51
                                xmlw.WriteElementString("uploadusername", "user");
 
52
                                xmlw.WriteElementString("uploadpassword", "password");
53
53
                                xmlw.WriteElementString("mysqlhost", "localhost");
54
54
                                xmlw.WriteElementString("mysqldb", "grub");
55
55
                                xmlw.WriteElementString("mysqluser", "user");
129
129
                        XmlDocument doc = new XmlDocument();
130
130
                        doc.Load("grub.xml");
131
131
                        string[] nodes = new string[17] {"enablesolr", "solraddress", "solrusername", 
132
 
                                "solrpassword", "uploadaddress", "uploaduser", "uploadpassword", "mysqlhost", 
 
132
                                "solrpassword", "uploadaddress", "uploadusername", "uploadpassword", "mysqlhost", 
133
133
                                "mysqldb", "mysqluser", "mysqlpassword", "workunitsdirectory", "workunitspassword", 
134
134
                                "useragent", "urlsamount", "httpversion", "accept"};
135
135
                        string[] values = new string[17] {"Y", "http://soap.grub.org:8180/solr/",