From 89cadcee180fa617329b445797500e39df3e471b Mon Sep 17 00:00:00 2001 From: wdlee91 Date: Fri, 1 Aug 2008 02:43:10 +0000 Subject: [PATCH] Why it uses split that don't require regular expression? git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4430 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/func.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/func.inc.php b/config/func.inc.php index e1263bbff..410f2343c 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -316,7 +316,7 @@ $debug_file = _XE_PATH_."files/_debug_message.php"; $bt = debug_backtrace(); $first = array_shift($bt); - $buff = sprintf("[%s:%d]\n%s\n", array_pop(split(DIRECTORY_SEPARATOR, $first["file"])), $first["line"], print_r($buff,true)); + $buff = sprintf("[%s:%d]\n%s\n", array_pop(explode(DIRECTORY_SEPARATOR, $first["file"])), $first["line"], print_r($buff,true)); if($display_line) $buff = "\n====================================\n".$buff."------------------------------------\n";