From 0deeb033795c6bd170255869b3028082a8f58209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Manuel=20G=C3=B3mez=20Senovilla?= Date: Sat, 5 Dec 2009 10:30:22 +0000 Subject: [PATCH] Fixing problem with preg_split replaced with explode, tracker #2403 --- setup/lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }