phpBB

Code Changes

File: phpbb/install/helper/database.php

  Unmodified   Added   Modified   Removed
Line 76Line 76
			'LABEL'			=> 'Oracle',
'SCHEMA' => 'oracle',
'MODULE' => 'oci8',

			'LABEL'			=> 'Oracle',
'SCHEMA' => 'oracle',
'MODULE' => 'oci8',

			'DELIM'			=> '/',

			'DELIM'			=> ';',

			'DRIVER'		=> 'phpbb\db\driver\oracle',
'AVAILABLE' => true,
'2.0.x' => false,

			'DRIVER'		=> 'phpbb\db\driver\oracle',
'AVAILABLE' => true,
'2.0.x' => false,

Line 333Line 333
		{
$errors[] = array(
'title' =>'INST_ERR_DB_FORUM_PATH',

		{
$errors[] = array(
'title' =>'INST_ERR_DB_FORUM_PATH',

 
			);
}

// Check if SQLite database is writable
if ($dbms_info['SCHEMA'] === 'sqlite'
&& (($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',

			);
}


			);
}


Line 363Line 372
			$tables = array_map('strtolower', $tables);
$table_intersect = array_intersect($tables, $table_ary);


			$tables = array_map('strtolower', $tables);
$table_intersect = array_intersect($tables, $table_ary);


			if (sizeof($table_intersect))

			if (count($table_intersect))

			{
$errors[] = array(
'title' => 'INST_ERR_PREFIX',

			{
$errors[] = array(
'title' => 'INST_ERR_PREFIX',