Commit 1445ad2b authored by tbrehm's avatar tbrehm

Force unix linebreaks when a language file gets imported which has windows linebreaks inside.

parent 28d1b530
......@@ -84,7 +84,7 @@ if(isset($_FILES['file']['name']) && is_uploaded_file($_FILES['file']['tmp_name'
$langfile_path = trim(ISPC_WEB_PATH.'/'.$module_name.'/lib/lang/'.$file_name);
}
} else {
$buffer .= $line;
$buffer .= trim($line)."\n";
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment