diff options
Diffstat (limited to 'actions/systemsettings/install.php')
-rw-r--r-- | actions/systemsettings/install.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index f6832843e..dd60c847c 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -41,7 +41,13 @@ if ($debug) set_config('debug', 1, $site->getGUID()); else - unset_config('debug', $site->getGUID());
+ unset_config('debug', $site->getGUID()); + + $usage = get_input('usage'); + if ($usage) + unset_config('ping_home', $site->getGUID()); + else + set_config('ping_home', 'disabled', $site->getGUID());
// activate profile by default enable_plugin('profile', $site->getGUID()); |