utilisation d'un theme diffrent pour www.crans.org

darcs-hash:20060424140308-4ec08-9667eaaa85aadd11412e3fab569db37ad247e6c0.gz
This commit is contained in:
chove 2006-04-24 16:03:08 +02:00
parent a4c3c4b0a1
commit 27858f7a1c

View file

@ -123,8 +123,13 @@ class RequestBase:
# Set theme - forced theme, user theme or wiki default
if self.cfg.theme_force:
theme_name = self.cfg.theme_default
#### DEBUT HACK : Utilisation d'un thème différent pour www.crans.org
if self.remote_addr == '138.231.136.3':
theme_name = self.cfg.theme_www
#### FIN DU HACK
else:
theme_name = self.user.theme_name
self.loadTheme(theme_name)
self.args = None