mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 05:55:15 +02: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
@ -178,17 +178,7 @@ class emailer
|
||||
//
|
||||
function send()
|
||||
{
|
||||
global $phpEx, $phpbb_root_dir;
|
||||
|
||||
if (isset($phpbb_root_dir))
|
||||
{
|
||||
// we must be in the admin section.
|
||||
$phpbb_root_path = $phpbb_root_dir;
|
||||
}
|
||||
else
|
||||
{
|
||||
$phpbb_root_path = "./";
|
||||
}
|
||||
global $phpEx, $phpbb_root_path;
|
||||
|
||||
if ($this->address == NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user