Commit c7e36e5e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added hack for resin!!!


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1640 b35dd754-fafc-0310-a699-88a17e54d16e
parent b119eebd
......@@ -137,6 +137,9 @@
if (plugin != null) {
File icon = new File(pluginManager.getPluginDirectory(plugin), "logo_small.gif");
if (icon.exists()) {
// Clear any empty line added by the JSP declaration. This is required to show
// the image in resin!!!!!
response.reset();
response.setContentType("image/gif");
InputStream in = null;
OutputStream ost = null;
......@@ -149,6 +152,7 @@
while ((len = in.read(buf)) >= 0) {
ost.write(buf,0,len);
}
ost.flush();
}
catch (IOException ioe) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment