From 5b0bba72b1c619af2f39859ec0c262f860f991ac Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 20 Apr 2002 00:22:29 +0000 Subject: merged from 2.0.0 branch (marked merge_point_20020420) + assorted updates and trial stuff for example session alterations git-svn-id: file:///svn/phpbb/trunk@2532 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/emailer.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'phpBB/includes/emailer.php') 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) { -- cgit v1.2.1