don't add ?> to instance-config.php upon install
This commit is contained in:
parent
98bf55ab2c
commit
39acbf8834
@ -449,7 +449,7 @@
|
|||||||
|
|
||||||
create_config_from_array($instance_config, $_POST);
|
create_config_from_array($instance_config, $_POST);
|
||||||
|
|
||||||
$instance_config .= '?>';
|
$instance_config .= "\n";
|
||||||
|
|
||||||
if(@file_put_contents('inc/instance-config.php', $instance_config)) {
|
if(@file_put_contents('inc/instance-config.php', $instance_config)) {
|
||||||
header('Location: ?step=4', true, $config['redirect_http']);
|
header('Location: ?step=4', true, $config['redirect_http']);
|
||||||
|
Loading…
Reference in New Issue
Block a user