|
From: Jon O. <jon...@us...> - 2008-02-19 22:09:37
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv562 Modified Files: forum_hack.php Log Message: Fix for registering. Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** forum_hack.php 19 Feb 2008 21:39:46 -0000 1.41 --- forum_hack.php 19 Feb 2008 22:09:32 -0000 1.42 *************** *** 52,55 **** --- 52,62 ---- } + // 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); + } + /* // Cannot be loaded here, since its functions load other includes *************** *** 1758,1761 **** --- 1765,1769 ---- $code = preg_replace ("/include(.*)functions_select/", "//", $code); //$code = preg_replace ("/include(.*)functions_search/", "//", $code); + $code = preg_replace ("/include(.*)functions_validate/", "//", $code); $code = preg_replace ("/include(.*)functions_post/", "//", $code); $code = preg_replace ("/include(.*)bbcode/", "//", $code); |