aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/systemsettings/install.php')
-rw-r--r--actions/systemsettings/install.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 06a40e167..30f501f36 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -33,7 +33,13 @@
datalist_set('default_site',$site->getGUID());
- set_config('language', get_input('language'), $site->getGUID());
+ set_config('language', get_input('language'), $site->getGUID());
+
+ $debug = get_input('debug');
+ if ($debug)
+ set_config('debug', 1, $site->getGUID());
+ else
+ unset_config('debug', $site->getGUID());
system_message(elgg_echo("installation:configuration:success"));