Merge pull request #270 from staabm/hellip

fixed ellipsis for non-utf8 apps
This commit is contained in:
Denis Sokolov
2015-03-13 13:11:29 +02:00
+1 -1
View File
@@ -58,7 +58,7 @@ class Frame implements Serializable
if ($shortened && is_string($file)) {
// Replace the part of the path that all frames have in common, and add 'soft hyphens' for smoother line-breaks.
$dirname = dirname(dirname(dirname(dirname(dirname(dirname(__DIR__))))));
$file = str_replace($dirname, "", $file);
$file = str_replace($dirname, "…", $file);
$file = str_replace("/", "/­", $file);
}