[wiki-lenny] Déproxyfication du www

darcs-hash:20081211174714-bd074-326d72d8640cad6ee785ee108fe022121da1b390.gz
This commit is contained in:
Antoine Durand-Gasselin 2008-12-11 18:47:14 +01:00
parent ac5047c2f3
commit 26fef18d0f
2 changed files with 12 additions and 12 deletions

View file

@ -1174,7 +1174,7 @@ class RequestBase(object):
def initTheme(self):
""" Set theme - forced theme, user theme or wiki default """
### HACK SAUVAGE 1/1
if self.remote_addr == '138.231.136.67':
if self.http_host == 'www.crans.org':
theme_name = 'crans-www'
elif self.cfg.theme_force:
### FIN HACK 1/1