diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-05 12:42:06 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-05 12:42:06 +0000 |
| commit | 56b619556354bee7bddc6045c831e8943200d356 (patch) | |
| tree | 94a370a019844c848dbf45550c561d219c042c3e /phpBB/includes/auth/auth_apache.php | |
| parent | 305bea7b9e0ecd71b71265ca7d7d1e8e97cb3010 (diff) | |
| download | forums-56b619556354bee7bddc6045c831e8943200d356.tar forums-56b619556354bee7bddc6045c831e8943200d356.tar.gz forums-56b619556354bee7bddc6045c831e8943200d356.tar.bz2 forums-56b619556354bee7bddc6045c831e8943200d356.tar.xz forums-56b619556354bee7bddc6045c831e8943200d356.zip | |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@8142 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_apache.php')
| -rw-r--r-- | phpBB/includes/auth/auth_apache.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/phpBB/includes/auth/auth_apache.php b/phpBB/includes/auth/auth_apache.php index 21892d7668..ed3951dd7b 100644 --- a/phpBB/includes/auth/auth_apache.php +++ b/phpBB/includes/auth/auth_apache.php @@ -6,12 +6,20 @@ * * @package login * @version $Id$ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* @copyright (c) 2005 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** * Checks whether the user is identified to apache * Only allow changing authentication to apache if the user is identified * Called in acp_board while setting authentication plugins @@ -68,7 +76,7 @@ function login_apache(&$username, &$password) ); } - $sql = 'SELECT user_id, username, user_password, user_passchg, user_email, user_type + $sql = 'SELECT user_id, username, user_password, user_passchg, user_email, user_type FROM ' . USERS_TABLE . " WHERE username = '" . $db->sql_escape($php_auth_user) . "'"; $result = $db->sql_query($sql); |
