diff --git a/setup/lang.php b/setup/lang.php
index 832189b5d7..67a3dfc328 100644
--- a/setup/lang.php
+++ b/setup/lang.php
@@ -92,7 +92,7 @@ if($_POST['debug'] && count(translation::$line_rejected))
$str = '';
foreach(translation::$line_rejected as $badline)
{
- $_f_buffer = preg_split("/[\\/\\]/", $badline['appfile']);
+ $_f_buffer = explode('/', $badline['appfile']);
$str .= lang('Application: %1, File: %2, Line: "%3"',''.$_f_buffer[count($_f_buffer)-3].'',
''.$_f_buffer[count($_f_buffer)-1].'',$badline['line'])."
\n";
}