From 3bccebacbc222653ea1780ebc759e699ace57fed Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Sat, 24 Sep 2011 19:06:08 +0200
Subject: [PATCH] prevent people from triggering the setup manually

---
 index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.php b/index.php
index 26e90ddfa5c..63ffba135ae 100644
--- a/index.php
+++ b/index.php
@@ -28,7 +28,7 @@ require_once('lib/base.php');
 // Setup required :
 $not_installed = !OC_Config::getValue('installed', false);
 $install_called = (isset($_POST['install']) AND $_POST['install']=='true');
-if($not_installed OR $install_called) {
+if($not_installed) {
 	OC_Util::addScript('setup');
 	require_once('setup.php');
 	exit();