From b8a5fde84629cdc4885016b76c90d9836c4f65b0 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 5 Sep 2008 01:24:01 +0000 Subject: - better management of fatal errors (instead of die or trigger_error rather use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include') diff --git a/admin/include/functions.php b/admin/include/functions.php index a3381f09a..2d8ae2ba6 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1832,7 +1832,7 @@ UPDATE '.USER_CACHE_TABLE.' */ function create_table_add_character_set($query) { - defined('DB_CHARSET') or trigger_error('create_table_add_character_set DB_CHARSET undefined', E_USER_ERROR); + defined('DB_CHARSET') or fatal_error('create_table_add_character_set DB_CHARSET undefined'); if ('DB_CHARSET'!='') { if ( version_compare(mysql_get_server_info(), '4.1.0', '<') ) -- cgit v1.2.3