mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-19 08:59:10 +02:00
[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:
@ -118,11 +118,6 @@ else
|
|||||||
define('STRIP', (get_magic_quotes_gpc()) ? true : false);
|
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))
|
if (file_exists($phpbb_root_path . 'config.' . $phpEx))
|
||||||
{
|
{
|
||||||
require($phpbb_root_path . 'config.' . $phpEx);
|
require($phpbb_root_path . 'config.' . $phpEx);
|
||||||
|
Reference in New Issue
Block a user