|
From: Jon O. <jon...@us...> - 2008-02-20 21:07:33
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12442/includes Modified Files: forum_hack.php Log Message: quotes around function names fix for languages Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** forum_hack.php 19 Feb 2008 22:09:32 -0000 1.42 --- forum_hack.php 20 Feb 2008 21:07:27 -0000 1.43 *************** *** 32,51 **** // Include phpbb functions (in 2.9.x, since they are not already loaded) // ! if(!function_exists(auth_check_user)) { // Do we really need this one? include_once($phpbb_root_path . 'includes/auth.' . $phpEx); } ! if(!function_exists(get_db_stat)) { include_once($phpbb_root_path . 'includes/functions.' . $phpEx); } ! if(!function_exists(style_select)) { include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); } ! if(!function_exists(generate_smilies)) { include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); --- 32,51 ---- // Include phpbb functions (in 2.9.x, since they are not already loaded) // ! if(!function_exists('auth_check_user')) { // Do we really need this one? include_once($phpbb_root_path . 'includes/auth.' . $phpEx); } ! if(!function_exists('get_db_stat')) { include_once($phpbb_root_path . 'includes/functions.' . $phpEx); } ! if(!function_exists('style_select')) { include_once($phpbb_root_path . 'includes/functions_selects.' . $phpEx); } ! if(!function_exists('generate_smilies')) { include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx); *************** *** 54,58 **** // This is a temp fix, since this include should work regardless. I guess our subcall regex cannot handle non-standard in function includes. // Nevermind, this file is small and only loaded from usercp_register.php and functions_post.php. ! if(!function_exists(validate_username)) { include_once($phpbb_root_path . 'includes/functions_validate.' . $phpEx); --- 54,58 ---- // This is a temp fix, since this include should work regardless. I guess our subcall regex cannot handle non-standard in function includes. // Nevermind, this file is small and only loaded from usercp_register.php and functions_post.php. ! if(!function_exists('validate_username')) { include_once($phpbb_root_path . 'includes/functions_validate.' . $phpEx); *************** *** 61,65 **** /* // Cannot be loaded here, since its functions load other includes ! if(!function_exists(clean_words)) { include_once($phpbb_root_path . 'includes/functions_search.' . $phpEx); --- 61,65 ---- /* // Cannot be loaded here, since its functions load other includes ! if(!function_exists('clean_words')) { include_once($phpbb_root_path . 'includes/functions_search.' . $phpEx); *************** *** 67,71 **** */ ! if(!function_exists(smilies_pass)) { include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); --- 67,71 ---- */ ! if(!function_exists('smilies_pass')) { include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); |