phpBB

Code Changes

File: phpbb/install/module/install_database/task/add_config_settings.php

  Unmodified   Added   Modified   Removed
Line 149Line 149

'INSERT INTO ' . $this->config_table . " (config_name, config_value)
VALUES ('default_lang', '" . $this->db->sql_escape($this->install_config->get('default_lang')) . "')",


'INSERT INTO ' . $this->config_table . " (config_name, config_value)
VALUES ('default_lang', '" . $this->db->sql_escape($this->install_config->get('default_lang')) . "')",


'UPDATE ' . $this->config_table . "
SET config_value = '" . $this->db->sql_escape($this->install_config->get('img_imagick')) . "'
WHERE config_name = 'img_imagick'",

 

'UPDATE ' . $this->config_table . "
SET config_value = '" . $this->db->sql_escape($this->install_config->get('server_name')) . "'


'UPDATE ' . $this->config_table . "
SET config_value = '" . $this->db->sql_escape($this->install_config->get('server_name')) . "'

Line 327Line 323
		}

$i = $this->install_config->get('add_config_settings_index', 0);

		}

$i = $this->install_config->get('add_config_settings_index', 0);

		$total = sizeof($sql_ary);

		$total = count($sql_ary);

		$sql_ary = array_slice($sql_ary, $i);

foreach ($sql_ary as $sql)

		$sql_ary = array_slice($sql_ary, $i);

foreach ($sql_ary as $sql)