aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-01-31 02:14:48 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-01-31 02:14:48 +0000
commit21ecf31419f3aeec5faccc223d3279a49606185a (patch)
tree93562d70d8c62cec95669594445bacbf02b3bd4c /phpBB/includes/session.php
parent2e20478640c077c05cf44e2ae828eabaa893ccfe (diff)
downloadforums-21ecf31419f3aeec5faccc223d3279a49606185a.tar
forums-21ecf31419f3aeec5faccc223d3279a49606185a.tar.gz
forums-21ecf31419f3aeec5faccc223d3279a49606185a.tar.bz2
forums-21ecf31419f3aeec5faccc223d3279a49606185a.tar.xz
forums-21ecf31419f3aeec5faccc223d3279a49606185a.zip
I think we needed it anyway ;)
git-svn-id: file:///svn/phpbb/trunk@3439 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 78c22c142d..d467633abd 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -713,14 +713,13 @@ class auth
// Authentication plug-ins is largely down to Sergey Kanareykin, our thanks to him.
function login($username, $password, $autologin = false)
{
- global $config, $user, $phpEx;
+ global $config, $user, $phpbb_root_path, $phpEx;
$method = trim($config['auth_method']);
- // NOTE: don't we need $phpbb_root_path here?
- if (file_exists('includes/auth/auth_' . $method . '.' . $phpEx))
+ if (file_exists($phpbb_root_path . 'includes/auth/auth_' . $method . '.' . $phpEx))
{
- include_once('includes/auth/auth_' . $method . '.' . $phpEx);
+ include_once($phpbb_root_path . 'includes/auth/auth_' . $method . '.' . $phpEx);
$method = 'login_' . $method;
if (function_exists($method))