mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
98d4065f58
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class database
|
||||||
|
|
||||||
// Check if SQLite database is writable
|
// Check if SQLite database is writable
|
||||||
if ($dbms_info['SCHEMA'] === 'sqlite'
|
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(
|
$errors[] = array(
|
||||||
'title' =>'INST_ERR_DB_NO_WRITABLE',
|
'title' =>'INST_ERR_DB_NO_WRITABLE',
|
||||||
|
|
Loading…
Add table
Reference in a new issue