Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-09-24 21:06:08 +0400
committerRobin Appelman <icewind1991@gmail.com>2011-09-24 21:06:08 +0400
commit3bccebacbc222653ea1780ebc759e699ace57fed (patch)
tree30668f08fb47c69b06629f79660f1db42a0a49cd /index.php
parent793e29e1245d079f89505294bef47f01c9111e8b (diff)
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();