]> source.dussan.org Git - nextcloud-server.git/commitdiff
prevent people from triggering the setup manually
authorRobin Appelman <icewind1991@gmail.com>
Sat, 24 Sep 2011 17:06:08 +0000 (19:06 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 24 Sep 2011 17:06:08 +0000 (19:06 +0200)
index.php

index 26e90ddfa5c9a39b1f69891aeba3493e1e300e49..63ffba135aed15fb488b660a8ec2a6d211d130e2 100644 (file)
--- 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();