diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-02-22 20:06:53 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-02-22 20:06:53 +0100 |
commit | 98d4065f58727f63955f079a583e2874acbf3bbf (patch) | |
tree | c38d90c7c9b352c69360281fc262fc3dbce09665 /phpBB/phpbb/install | |
parent | Merge branch '3.2.x' (diff) | |
parent | Merge pull request #5133 from rubencm/ticket/15563 (diff) | |
download | phpbb-98d4065f58727f63955f079a583e2874acbf3bbf.tar.gz phpbb-98d4065f58727f63955f079a583e2874acbf3bbf.tar.bz2 phpbb-98d4065f58727f63955f079a583e2874acbf3bbf.zip |
Merge branch '3.2.x'
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r-- | phpBB/phpbb/install/helper/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/helper/database.php b/phpBB/phpbb/install/helper/database.php index 7ea02a12a4..3885ce7a3f 100644 --- a/phpBB/phpbb/install/helper/database.php +++ b/phpBB/phpbb/install/helper/database.php @@ -339,7 +339,7 @@ class database // Check if SQLite database is writable if ($dbms_info['SCHEMA'] === 'sqlite' - && (!$this->filesystem->is_writable($dbhost) || !$this->filesystem->is_writable(pathinfo($dbhost, PATHINFO_DIRNAME)))) + && (($this->filesystem->exists($dbhost) && !$this->filesystem->is_writable($dbhost)) || !$this->filesystem->is_writable(pathinfo($dbhost, PATHINFO_DIRNAME)))) { $errors[] = array( 'title' =>'INST_ERR_DB_NO_WRITABLE', |