29 return "Confirm that an existing installation should be overwritten if applicable.";
57 $admin_interaction = $environment->
getResource(Setup\Environment::RESOURCE_ADMIN_INTERACTION);
60 "An installation already seems to exist in this location. Using this command\n" .
61 "might change your installation in unexpected ways. Are you sure that you\n" .
64 if (!$admin_interaction->confirmOrDeny(
$message)) {
65 throw new Setup\NoConfirmationException(
$message);
73 return file_exists(dirname(__DIR__, 2) .
"/ilias.ini.php");
78 return file_exists($this->
getClientDir() .
"/client.ini.php");
83 return dirname(__DIR__, 2) .
"/data/" . $this->config->getClientId();
There seems to already exist an ILIAS installation, an interaction with it should be confirmed...
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
achieve(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
getPreconditions(Setup\Environment $environment)