Skip to content

Commit

Permalink
removing closing tag from generated config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pepijn Over committed Aug 7, 2014
1 parent b25ceae commit 55714e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config.php.sample
Expand Up @@ -4,4 +4,4 @@ define('PSM_DB_USER', 'db_user');
define('PSM_DB_PASS', 'db_pass');
define('PSM_DB_NAME', 'db_name');
define('PSM_DB_HOST', 'localhost');
?>

Expand Up @@ -286,7 +286,6 @@ protected function writeConfigFile($db_vars) {
);
$config .= $line;
}
$config .= "?>".PHP_EOL;
if(is_writeable($this->path_config)) {
file_put_contents($this->path_config, $config);
return true;
Expand Down

0 comments on commit 55714e4

Please sign in to comment.