forked from I2P_Developers/i2p.i2p
@ -31,7 +31,7 @@ public class LogsHelper extends HelperBase {
|
|||||||
}
|
}
|
||||||
String str = FileUtil.readTextFile(f.getAbsolutePath(), 250, false);
|
String str = FileUtil.readTextFile(f.getAbsolutePath(), 250, false);
|
||||||
if (str == null)
|
if (str == null)
|
||||||
return "";
|
return _("File not found") + ": <b><code>" + f.getAbsolutePath() + "</code></b>";
|
||||||
else {
|
else {
|
||||||
str = str.replace("&", "&").replace("<", "<").replace(">", ">");
|
str = str.replace("&", "&").replace("<", "<").replace(">", ">");
|
||||||
return _("File location") + ": <b><code>" + f.getAbsolutePath() + "</code></b> <pre>" + str + "</pre>";
|
return _("File location") + ": <b><code>" + f.getAbsolutePath() + "</code></b> <pre>" + str + "</pre>";
|
||||||
|
Reference in New Issue
Block a user