diff --git a/wiki/request.py b/wiki/request.py index b1ccb215..9f53c867 100644 --- a/wiki/request.py +++ b/wiki/request.py @@ -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