|
From: Meik S. <acy...@us...> - 2007-09-22 13:33:04
|
Update of /cvsroot/phpbb/phpBB2/includes/acp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32321 Modified Files: acp_board.php Log Message: basename auth values for acp_board Index: acp_board.php =================================================================== RCS file: /cvsroot/phpbb/phpBB2/includes/acp/acp_board.php,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** acp_board.php 19 Jul 2007 20:36:49 -0000 1.77 --- acp_board.php 22 Sep 2007 13:33:05 -0000 1.78 *************** *** 408,412 **** if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file)) { ! $auth_plugins[] = preg_replace('#^auth_(.*?)\.' . $phpEx . '$#', '\1', $file); } } --- 408,412 ---- if (preg_match('#^auth_(.*?)\.' . $phpEx . '$#', $file)) { ! $auth_plugins[] = basename(preg_replace('#^auth_(.*?)\.' . $phpEx . '$#', '\1', $file)); } } *************** *** 460,464 **** if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings)) { ! $method = $cfg_array['auth_method']; if ($method && in_array($method, $auth_plugins)) { --- 460,464 ---- if ($submit && (($cfg_array['auth_method'] != $this->new_config['auth_method']) || $updated_auth_settings)) { ! $method = basename($cfg_array['auth_method']); if ($method && in_array($method, $auth_plugins)) { *************** *** 477,481 **** } } ! set_config('auth_method', $cfg_array['auth_method']); } else --- 477,481 ---- } } ! set_config('auth_method', basename($cfg_array['auth_method'])); } else |