mirror of
https://github.com/nextcloud/server.git
synced 2026-03-25 11:54:59 -04:00
prevent people from triggering the setup manually
This commit is contained in:
parent
793e29e124
commit
3bccebacbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue