mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10152] Remove end '?>' from generated config.php.
PHPBB3-10152
This commit is contained in:
parent
fab0ec64b3
commit
e95aec1637
1 changed files with 0 additions and 1 deletions
|
@ -903,7 +903,6 @@ class install_install extends module
|
||||||
$config_data .= "\n@define('PHPBB_INSTALLED', true);\n";
|
$config_data .= "\n@define('PHPBB_INSTALLED', true);\n";
|
||||||
$config_data .= "// @define('DEBUG', true);\n";
|
$config_data .= "// @define('DEBUG', true);\n";
|
||||||
$config_data .= "// @define('DEBUG_EXTRA', true);\n";
|
$config_data .= "// @define('DEBUG_EXTRA', true);\n";
|
||||||
$config_data .= '?' . '>'; // Done this to prevent highlighting editors getting confused!
|
|
||||||
|
|
||||||
// Attempt to write out the config file directly. If it works, this is the easiest way to do it ...
|
// Attempt to write out the config file directly. If it works, this is the easiest way to do it ...
|
||||||
if ((file_exists($phpbb_root_path . 'config.' . $phpEx) && phpbb_is_writable($phpbb_root_path . 'config.' . $phpEx)) || phpbb_is_writable($phpbb_root_path))
|
if ((file_exists($phpbb_root_path . 'config.' . $phpEx) && phpbb_is_writable($phpbb_root_path . 'config.' . $phpEx)) || phpbb_is_writable($phpbb_root_path))
|
||||||
|
|
Loading…
Add table
Reference in a new issue