mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user