diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 17:18:36 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-21 17:18:36 +0000 |
commit | b10b63780291e223dc30ece31ea2899ddd8078e1 (patch) | |
tree | 5e6efbec2209c149a70a4a654bb75f31c2ef0e95 | |
parent | ff3c511e3d66534b74113b492ecfbe60e74d1459 (diff) | |
download | elgg-b10b63780291e223dc30ece31ea2899ddd8078e1.tar.gz elgg-b10b63780291e223dc30ece31ea2899ddd8078e1.tar.bz2 |
Actually fixes #269
git-svn-id: https://code.elgg.org/elgg/trunk@2036 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | actions/systemsettings/install.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php index 35cae93c1..efc0f61b4 100644 --- a/actions/systemsettings/install.php +++ b/actions/systemsettings/install.php @@ -65,6 +65,8 @@ unset_config('debug', $site->getGUID()); $usage = get_input('usage'); + if (is_array($usage)) $usage = $usage[0]; + if ($usage) unset_config('ping_home', $site->getGUID()); else @@ -77,9 +79,8 @@ enable_plugin('logbrowser', $site->getGUID()); enable_plugin('diagnostics', $site->getGUID()); - // Now ping home - if ($usage!='disabled') + if ($usage=='') { ping_home($site); } |