From: Robin Appelman Date: Sat, 24 Sep 2011 17:06:08 +0000 (+0200) Subject: prevent people from triggering the setup manually X-Git-Tag: v3.0~159^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bccebacbc222653ea1780ebc759e699ace57fed;p=nextcloud-server.git prevent people from triggering the setup manually --- 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();