mirror of
https://github.com/friendica/friendica
synced 2024-11-12 22:22:54 +00:00
allow mod/view in install mode to load pcss files. Fix unstiled install
This commit is contained in:
parent
d2afb263ae
commit
b95e746259
1 changed files with 14 additions and 12 deletions
|
@ -136,9 +136,11 @@ if(! x($_SESSION,'sysmsg_info'))
|
|||
* 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';
|
||||
elseif($maintenance)
|
||||
elseif($maintenance && $a->module!="view")
|
||||
$a->module = 'maintenance';
|
||||
else {
|
||||
check_url($a);
|
||||
|
|
Loading…
Reference in a new issue