Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10492] Fix line endings
  [ticket/10492] Backporting functional tests
  [ticket/10492] Separate config generation from the installer

Conflicts:
	phpBB/includes/functions_install.php
	phpunit.xml.functional
	tests/bootstrap.php
	tests/test_framework/phpbb_functional_test_case.php
	tests/test_framework/phpbb_test_case_helpers.php
This commit is contained in:
Nils Adermann 2012-04-21 12:36:40 +02:00
commit 417caa649a

View file

@ -511,6 +511,16 @@ function adjust_language_keys_callback($matches)
} }
} }
/**
* Creates the output to be stored in a phpBB config.php file
*
* @param array $data Array containing the database connection information
* @param string $dbms The name of the DBAL class to use
* @param array $load_extensions Array of additional extensions that should be loaded
* @param bool $debug If the debug constants should be enabled by default or not
*
* @return string The output to write to the file
*/
function phpbb_create_config_file_data($data, $dbms, $load_extensions, $debug = false) function phpbb_create_config_file_data($data, $dbms, $load_extensions, $debug = false)
{ {
$load_extensions = implode(',', $load_extensions); $load_extensions = implode(',', $load_extensions);