Setup wizard cosmetics: added a "Reload" button to refresh the first page of the wizard when the prerequisites are not met.

SVN:trunk[3413]
This commit is contained in:
Denis Flaven
2014-11-06 10:41:03 +00:00
parent ec1ec854fb
commit 8922c435b4
2 changed files with 2 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ class WizardController
$oP->add("<h2>Fatal error</h2>\n");
$oP->error("<b>Error:</b> the configuration file '".$sConfigFile."' already exists and cannot be overwritten.");
$oP->p("The wizard cannot modify the configuration file for you. If you want to upgrade ".ITOP_APPLICATION.", make sure that the file '<b>".realpath($sConfigFile)."</b>' can be modified by the web server.");
$oP->p('<button type="button" onclick="window.location.reload()">Reload</button>');
$oP->output();
return;
}