Merge branch 'install-fixes' into 'develop'
Install fixes See merge request framasoft/framadate!339
This commit is contained in:
commit
49bd7c9169
@ -112,7 +112,7 @@ if (!file_exists(ROOT_DIR . COMPILE_DIR)) {
|
|||||||
if (file_exists($conf_filename)) {
|
if (file_exists($conf_filename)) {
|
||||||
$messages[] = new Message('info', __('Check','The config file exists.'));
|
$messages[] = new Message('info', __('Check','The config file exists.'));
|
||||||
} elseif (is_writable($inc_directory)) {
|
} 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 {
|
} 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));
|
$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));
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ if (is_file(CONF_FILENAME)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$error = null;
|
$error = null;
|
||||||
|
$result['details'] = null;
|
||||||
$installService = new InstallService();
|
$installService = new InstallService();
|
||||||
|
|
||||||
if (!empty($_POST)) {
|
if (!empty($_POST)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user