aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/index.php b/index.php
index cf9262bf7..14b8ca856 100755
--- a/index.php
+++ b/index.php
@@ -48,6 +48,7 @@ if(! $install) {
load_config('config');
load_config('system');
+ load_config('feature');
require_once("session.php");
load_hooks();
@@ -117,8 +118,11 @@ if(! x($_SESSION,'sysmsg_info'))
*/
-if($install)
- $a->module = 'setup';
+if($install) {
+ /* Allow an exception for the view module so that pcss will be interpreted during installation */
+ if($a->module != 'view')
+ $a->module = 'setup';
+}
else
check_config($a);