aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Main.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-01-09 16:59:09 +0700
committerGravatar Ugnich Anton2013-01-09 16:59:09 +0700
commit6a6b574cd010f01b4d26907707a28e70d3e384c6 (patch)
treeb999c1318f1afa29689c262033762c2688e5e908 /src/java/com/juick/http/www/Main.java
parent93b44885f6d306d0cb405c4ee9c436ee3ea4c921 (diff)
Blogs: related tags
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r--src/java/com/juick/http/www/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java
index e4b79962..226ac729 100644
--- a/src/java/com/juick/http/www/Main.java
+++ b/src/java/com/juick/http/www/Main.java
@@ -41,7 +41,7 @@ public class Main extends HttpServlet implements XmppListener {
Connection sql;
Connection sqlSearch;
XmppConnection xmpp;
- Blogs blogs = new Blogs();
+ Blogs blogs;
RootRedirects rootRedirects = new RootRedirects();
Login login = new Login();
Help help = new Help();
@@ -65,6 +65,8 @@ public class Main extends HttpServlet implements XmppListener {
xmpp.start();
*/
+ blogs = new Blogs(sql);
+
PageTemplates.sape = new Sape(conf.getProperty("sape_user"), "juick.com", 2000, 3600);
} catch (Exception e) {
log(null, e);