mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fix path bug
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2500 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
427be2243a
commit
9cf52055a6
1 changed files with 1 additions and 11 deletions
|
@ -178,17 +178,7 @@ class emailer
|
||||||
//
|
//
|
||||||
function send()
|
function send()
|
||||||
{
|
{
|
||||||
global $phpEx, $phpbb_root_dir;
|
global $phpEx, $phpbb_root_path;
|
||||||
|
|
||||||
if (isset($phpbb_root_dir))
|
|
||||||
{
|
|
||||||
// we must be in the admin section.
|
|
||||||
$phpbb_root_path = $phpbb_root_dir;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$phpbb_root_path = "./";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($this->address == NULL)
|
if ($this->address == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue