Fixed brainos.

This commit is contained in:
Chris 2012-03-17 12:16:11 +00:00
parent e1df8444c0
commit 94428abda8
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ sub run {
password => $self -> {"settings"} -> {"database"} -> {"phpbb_password"},
codepath => path_join($self -> {"settings"} -> {"config"} -> {"base"}, "templates", "default"),
url => $self -> {"settings"} -> {"config"} -> {"forumurl"})
or die_log($out -> remote_host(), "Unable to create phpbb object: ".$SessionHandler::errstr);
or die_log($self -> {"cgi"} -> remote_host(), "Unable to create phpbb object: ".$phpBB3::errstr);
$self -> {"auth"} = $self -> {"phpbb"};

View File

@ -96,7 +96,7 @@ sub init {
dbh => $self -> {"dbh"},
settings => $self -> {"settings"},
app => $self -> {"app"})
or "Unable to create AuthMethods object: ".$Auth::Methods -> errstr;
or "Unable to create AuthMethods object: ".$AuthMethods -> errstr;
$self -> {"ANONYMOUS"} = $self -> {"app"} -> anonymous_user();
$self -> {"ADMINTYPE"} = $self -> {"app"} -> adminuser_type();