summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-24 19:06:08 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-09-24 19:06:08 +0200
commit3bccebacbc222653ea1780ebc759e699ace57fed (patch)
tree30668f08fb47c69b06629f79660f1db42a0a49cd /index.php
parent793e29e1245d079f89505294bef47f01c9111e8b (diff)
downloadnextcloud-server-3bccebacbc222653ea1780ebc759e699ace57fed.tar.gz
nextcloud-server-3bccebacbc222653ea1780ebc759e699ace57fed.zip
prevent people from triggering the setup manually
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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();