diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java index f450682cd0..1bb6690f65 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java @@ -831,6 +831,9 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable } catch (IOException ioe) {} return; } + // theme hack + if (filename.startsWith("themes/console/default/")) + filename = filename.replaceFirst("default", I2PAppContext.getGlobalContext().getProperty("routerconsole.theme", "light")); File file = new File(_errorDir, filename); if (file.exists() && !file.isDirectory()) { String type; diff --git a/history.txt b/history.txt index f7210dba66..8234bda439 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,6 @@ +2009-07-16 zzz + * HTTP Proxy: Themes for error pages + 2009-07-16 sponge * ministreaming: - small pedantic fix diff --git a/installer/resources/ahelper-conflict-header.ht b/installer/resources/ahelper-conflict-header.ht index 068558d6a5..b9d63600f4 100644 --- a/installer/resources/ahelper-conflict-header.ht +++ b/installer/resources/ahelper-conflict-header.ht @@ -7,7 +7,7 @@ Proxy-Connection: close Destination key conflict - +