Mailer project continued (heavy refactoring):
[mailer.git] / inc / config-functions.php
index 035f169d7864b68de7f3311fe313314d23ec6eec..cfa68f5ca1d170b81d66de4a7ddf5d21c121cf2f 100644 (file)
@@ -194,7 +194,7 @@ function updateOldConfigFile () {
        copyFileVerified(getPath() . 'inc/config-local.php.dist', getCachePath() . 'config-local.php', 0644);
 
        // First of all, load the old one!
-       $oldConfig = explode(chr(10), readFromFile(getPath() . 'inc/config.php'));
+       $oldConfig = explode(PHP_EOL, readFromFile(getPath() . 'inc/config.php'));
 
        // Now, analyze every entry
        $done = array();