mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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:
parent
79d209824f
commit
a8f2e79fbc
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue