From 08d76967b0664ee668d9b508993b52c44c3bfa78 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Sat, 2 Jan 2021 11:14:23 -0500 Subject: Add temp folder check during install (#3312) Before, the temp path was not check during install. With some configuration, FRSS was not working because of a non-writable temp directory. It happened with XAMPP on MacOS X but it might be the case for other platforms. Now, the temp path is checked during install to make sure it is writable. See #3310 --- app/i18n/en/install.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'app/i18n/en/install.php') diff --git a/app/i18n/en/install.php b/app/i18n/en/install.php index 048774a1e..3c28b0c37 100644 --- a/app/i18n/en/install.php +++ b/app/i18n/en/install.php @@ -33,7 +33,7 @@ return array( '_' => 'Checks', 'already_installed' => 'We have detected that FreshRSS is already installed!', 'cache' => array( - 'nok' => 'Check permissions on the ./data/cache directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', 'ok' => 'Permissions on the cache directory are good.', ), 'ctype' => array( @@ -45,7 +45,7 @@ return array( 'ok' => 'You have the cURL library.', ), 'data' => array( - 'nok' => 'Check permissions on the ./data directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', 'ok' => 'Permissions on the data directory are good.', ), 'dom' => array( @@ -53,7 +53,7 @@ return array( 'ok' => 'You have the required library to browse the DOM.', ), 'favicons' => array( - 'nok' => 'Check permissions on the ./data/favicons directory. The HTTP server must have write permission.', + 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permission.', 'ok' => 'Permissions on the favicons directory are good.', ), 'fileinfo' => array( @@ -88,8 +88,12 @@ return array( 'nok' => 'Your PHP version is %s, but FreshRSS requires at least version %s.', 'ok' => 'Your PHP version, %s, is compatible with FreshRSS.', ), + 'tmp' => array( + 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permissions.', + 'ok' => 'Permissions on the temp directory are good.', + ), 'users' => array( - 'nok' => 'Check permissions on the ./data/users directory. The HTTP server must have write permissions', + 'nok' => 'Check permissions on the %s directory. The HTTP server must have write permissions.', 'ok' => 'Permissions on the users directory are good.', ), 'xml' => array( -- cgit v1.2.3