aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-03-12 18:16:10 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-03-12 18:16:10 +0100
commita27a39ebed0133dd88322a2c3a9e7228c657a703 (patch)
tree4fb44ffea4833d136e5c8de2a85ffe793df71233 /phpBB/common.php
parentdf096b6b52f9198561d689b505a8c74a0d0f86b6 (diff)
parentbc42cbd94bddbdea2714978c11327b4897d6fd0f (diff)
downloadforums-a27a39ebed0133dd88322a2c3a9e7228c657a703.tar
forums-a27a39ebed0133dd88322a2c3a9e7228c657a703.tar.gz
forums-a27a39ebed0133dd88322a2c3a9e7228c657a703.tar.bz2
forums-a27a39ebed0133dd88322a2c3a9e7228c657a703.tar.xz
forums-a27a39ebed0133dd88322a2c3a9e7228c657a703.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [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 Conflicts: phpBB/cron.php phpBB/includes/functions.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 68be033578..ccd043ba70 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);