diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-09-18 22:32:25 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-09-18 22:32:25 +0200 |
commit | 1ad97424a469fe2e36a3c3a616b5e49def292779 (patch) | |
tree | 23cd81b10b2eb6a47f28c4c28a4d9903a74e7069 /phpBB/includes/functions.php | |
parent | 9006984d5ab7478e9187d14c5ab331057b1af9a4 (diff) | |
download | forums-1ad97424a469fe2e36a3c3a616b5e49def292779.tar forums-1ad97424a469fe2e36a3c3a616b5e49def292779.tar.gz forums-1ad97424a469fe2e36a3c3a616b5e49def292779.tar.bz2 forums-1ad97424a469fe2e36a3c3a616b5e49def292779.tar.xz forums-1ad97424a469fe2e36a3c3a616b5e49def292779.zip |
[ticket/10369] Rename filter_errfile() to filter_root_path().
PHPBB3-10369
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4c1bfb4360..cd856f55a7 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3816,8 +3816,8 @@ function msg_handler($errno, $msg_text, $errfile, $errline) if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false) { - $errfile = phpbb_filter_errfile($errfile); - $msg_text = phpbb_filter_errfile($msg_text); + $errfile = phpbb_filter_root_path($errfile); + $msg_text = phpbb_filter_root_path($msg_text); $error_name = ($errno === E_WARNING) ? 'PHP Warning' : 'PHP Notice'; echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n"; @@ -4004,7 +4004,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline) * @return string Relative file path * (e.g. /includes/functions.php) */ -function phpbb_filter_errfile($errfile) +function phpbb_filter_root_path($errfile) { static $root_path; |