From a8f2e79fbc485c0133e616068570ed369e23935c Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 12 Mar 2011 14:40:42 +0100 Subject: [PATCH] [ticket/10046] No longer change $phpbb_root_path to an absolute path for cron. This is no longer required because we no longer call register_shutdown_function() which made this change necessary. PHPBB3-10046 --- phpBB/common.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpBB/common.php b/phpBB/common.php index c8b2fb9609..ae174c8441 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -118,11 +118,6 @@ else define('STRIP', (get_magic_quotes_gpc()) ? true : false); } -if (defined('IN_CRON')) -{ - $phpbb_root_path = dirname(__FILE__) . DIRECTORY_SEPARATOR; -} - if (file_exists($phpbb_root_path . 'config.' . $phpEx)) { require($phpbb_root_path . 'config.' . $phpEx);