Skip to content
Snippets Groups Projects
Commit 3bccebac authored by Robin Appelman's avatar Robin Appelman
Browse files

prevent people from triggering the setup manually

parent 793e29e1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment