prevent people from triggering the setup manually
This commit is contained in:
parent
793e29e124
commit
3bccebacbc
|
@ -28,7 +28,7 @@ require_once('lib/base.php');
|
||||||
// Setup required :
|
// Setup required :
|
||||||
$not_installed = !OC_Config::getValue('installed', false);
|
$not_installed = !OC_Config::getValue('installed', false);
|
||||||
$install_called = (isset($_POST['install']) AND $_POST['install']=='true');
|
$install_called = (isset($_POST['install']) AND $_POST['install']=='true');
|
||||||
if($not_installed OR $install_called) {
|
if($not_installed) {
|
||||||
OC_Util::addScript('setup');
|
OC_Util::addScript('setup');
|
||||||
require_once('setup.php');
|
require_once('setup.php');
|
||||||
exit();
|
exit();
|
||||||
|
|
Loading…
Reference in New Issue