Install fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-10-09 11:50:25 +02:00
parent d29b703e0e
commit f313699149
2 changed files with 2 additions and 1 deletions

View file

@ -112,7 +112,7 @@ if (!file_exists(ROOT_DIR . COMPILE_DIR)) {
if (file_exists($conf_filename)) {
$messages[] = new Message('info', __('Check','The config file exists.'));
} elseif (is_writable($inc_directory)) {
$messages[] = new Message('info', __('Check','The config file directory (%s) is writable.', $inc_directory));
$messages[] = new Message('info', __f('Check','The config file directory (%s) is writable.', $inc_directory));
} else {
$messages[] = new Message('danger', __f('Check','The config file directory (%s) is not writable and the config file (%s) does not exists.', $inc_directory, $conf_filename));
}

View file

@ -28,6 +28,7 @@ if (is_file(CONF_FILENAME)) {
}
$error = null;
$result['details'] = null;
$installService = new InstallService();
if (!empty($_POST)) {