aboutsummaryrefslogtreecommitdiff
path: root/actions/systemsettings/install.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 12:52:17 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-11 12:52:17 +0000
commit0d824354c94d69b08345cdf8bf322aa07b4958c3 (patch)
treef16a06df7403072d9d27b0b4bf0af74814fbf8cb /actions/systemsettings/install.php
parent0a93b4d2dacd35c17ef998e50d7d60e53e720825 (diff)
downloadelgg-0d824354c94d69b08345cdf8bf322aa07b4958c3.tar.gz
elgg-0d824354c94d69b08345cdf8bf322aa07b4958c3.tar.bz2
Refs #210 & #211 : Some more core settings / admin pages moved to use admin_gatekeeper. Install script action now also refuses to be run if the site has already been installed.
git-svn-id: https://code.elgg.org/elgg/trunk@1824 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/systemsettings/install.php')
-rw-r--r--actions/systemsettings/install.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/systemsettings/install.php b/actions/systemsettings/install.php
index 061a2404e..4629d010d 100644
--- a/actions/systemsettings/install.php
+++ b/actions/systemsettings/install.php
@@ -11,7 +11,9 @@
* @author Curverider Ltd
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
- */
+ */
+
+ if (is_installed()) gatekeeper();
if (get_input('settings') == 'go') {