diff --git a/config.php.sample b/config.php.sample index 2246f244..667afe2e 100755 --- a/config.php.sample +++ b/config.php.sample @@ -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'); -?> + diff --git a/src/psm/Module/Install/Controller/InstallController.class.php b/src/psm/Module/Install/Controller/InstallController.class.php index be04e0c8..a5a8b3d5 100644 --- a/src/psm/Module/Install/Controller/InstallController.class.php +++ b/src/psm/Module/Install/Controller/InstallController.class.php @@ -286,7 +286,6 @@ class InstallController extends AbstractController { ); $config .= $line; } - $config .= "?>".PHP_EOL; if(is_writeable($this->path_config)) { file_put_contents($this->path_config, $config); return true;