Correct Line Breaks

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-04 21:36:07 +01:00
parent 76fcad92b3
commit c60e15a682

View File

@ -182,7 +182,7 @@ class Config{
} }
private function parseList($content){ private function parseList($content){
foreach(explode("\n", trim(str_replace("\r", "", $content))) as $v){ foreach(explode("\n", trim(str_replace("\r\n", "\n", $content))) as $v){
$v = trim($v); $v = trim($v);
if($v == ""){ if($v == ""){
continue; continue;