diff --git a/setup/index.php b/setup/index.php index 910216d3e0..56d2f7b4fb 100644 --- a/setup/index.php +++ b/setup/index.php @@ -12,6 +12,10 @@ */ require './lib/common.inc.php'; +if (file_exists(CONFIG_FILE)) { + PMA_fatalError(__('Configuration already exists, setup is disabled!')); +} + $page = PMA_isValid($_GET['page'], 'scalar') ? $_GET['page'] : null; $page = preg_replace('/[^a-z]/', '', $page); if ($page === '') {