[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
This commit is contained in:
Andreas Fischer 2011-03-12 14:40:42 +01:00
parent 79d209824f
commit a8f2e79fbc

View file

@ -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);