allow mod/view in install mode to load pcss files. Fix unstiled install

This commit is contained in:
fabrixxm 2014-09-20 12:09:10 +02:00
parent d2afb263ae
commit b95e746259

View File

@ -136,9 +136,11 @@ if(! x($_SESSION,'sysmsg_info'))
* any plugins have been added or removed and reacts accordingly. * any plugins have been added or removed and reacts accordingly.
*/ */
if($install) // in install mode, any url loads install module
// but we need "view" module for stylesheet
if($install && $a->module!="view")
$a->module = 'install'; $a->module = 'install';
elseif($maintenance) elseif($maintenance && $a->module!="view")
$a->module = 'maintenance'; $a->module = 'maintenance';
else { else {
check_url($a); check_url($a);