From f31369914967fbc433a1dd34eff386c30bb89b0b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 9 Oct 2018 11:50:25 +0200 Subject: [PATCH] Install fixes Signed-off-by: Thomas Citharel --- admin/check.php | 2 +- admin/install.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/check.php b/admin/check.php index b010b80..9cdfa5b 100644 --- a/admin/check.php +++ b/admin/check.php @@ -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)); } diff --git a/admin/install.php b/admin/install.php index ee9edd3..7b2c774 100644 --- a/admin/install.php +++ b/admin/install.php @@ -28,6 +28,7 @@ if (is_file(CONF_FILENAME)) { } $error = null; +$result['details'] = null; $installService = new InstallService(); if (!empty($_POST)) {