allow mod/view in install mode to load pcss files. Fix unstiled install
This commit is contained in:
parent
d2afb263ae
commit
b95e746259
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue