Subversion Repositories SmartDukaan

Rev

Rev 24383 | Rev 33910 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24383 Rev 26850
Line 98... Line 98...
98
		try {
98
		try {
99
			properties.load(resource.getInputStream());
99
			properties.load(resource.getInputStream());
100
		} catch (IOException e) {
100
		} catch (IOException e) {
101
			e.printStackTrace();
101
			e.printStackTrace();
102
		}
102
		}
103
		return new Mongo(properties.getProperty("mongo.host"),
103
		return new Mongo(properties.getProperty("content.mongo.host"),
104
				properties.getProperty("content.mongo.host"));
104
				properties.getProperty("content.mongo.host"));
105
	}
105
	}
106
}
106
}