Unable to select skin from URL
When using skin GET parameter, the selected skin is not displayed. I think skin rules are also broken.
The log shows that templateDir is initialized before calling getSkin:
[debug] Calling sendHtml with template login [debug] Starting HTML generation using /usr/share/lemonldap-ng/portal/templates/bootstrap/login.tpl [debug] Skin myskin selected from GET/POST parameter [debug] Sending /usr/share/lemonldap-ng/portal/templates/bootstrap/login.tpl
In Portal::Main::Init, we can't call getSkin as we don't have the request parameter. We should be able to select skin before calling sendHtml.
@guimard I need your help on this to find the best way to fix this regression.