aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-12 14:40:42 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-12 14:57:26 +0100
commita8f2e79fbc485c0133e616068570ed369e23935c (patch)
treeb9693b543b54f94fa21eba4321ceb0385dc9e543 /phpBB/common.php
parent79d209824f9d88fa8116ace1a14d25900ed9466f (diff)
downloadforums-a8f2e79fbc485c0133e616068570ed369e23935c.tar
forums-a8f2e79fbc485c0133e616068570ed369e23935c.tar.gz
forums-a8f2e79fbc485c0133e616068570ed369e23935c.tar.bz2
forums-a8f2e79fbc485c0133e616068570ed369e23935c.tar.xz
forums-a8f2e79fbc485c0133e616068570ed369e23935c.zip
[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
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php5
1 files changed, 0 insertions, 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);