aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-03-12 18:11:47 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-03-12 18:11:47 +0100
commitbc42cbd94bddbdea2714978c11327b4897d6fd0f (patch)
tree4986bfcb0b451da6163f9a04f8a1099f56bc3674 /phpBB/common.php
parent2f57bfb6f297e9711bacb607faf6e33ab516db33 (diff)
parent9a4804525471b69b1ed0beb4ea7145faeb8855b8 (diff)
downloadforums-bc42cbd94bddbdea2714978c11327b4897d6fd0f.tar
forums-bc42cbd94bddbdea2714978c11327b4897d6fd0f.tar.gz
forums-bc42cbd94bddbdea2714978c11327b4897d6fd0f.tar.bz2
forums-bc42cbd94bddbdea2714978c11327b4897d6fd0f.tar.xz
forums-bc42cbd94bddbdea2714978c11327b4897d6fd0f.zip
Merge branch 'ticket/bantu/10046' into develop-olympus
* ticket/bantu/10046: [ticket/10046] Do not link bots to cron.php. [ticket/10046] No longer change $phpbb_root_path to an absolute path for cron. [ticket/10046] Call flush() in cron.php [ticket/10046] Remove calls to register_shutdown_function() in cron.php
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);