diff options
Diffstat (limited to 'phpBB/includes/emailer.php')
-rwxr-xr-x | phpBB/includes/emailer.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/phpBB/includes/emailer.php b/phpBB/includes/emailer.php index a6e8aaf5f0..331d8fc3e8 100755 --- a/phpBB/includes/emailer.php +++ b/phpBB/includes/emailer.php @@ -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) { |