mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12620] Add support of the environments for the ext routing files
PHPBB3-12620
This commit is contained in:
@@ -21,6 +21,12 @@ if (php_sapi_name() != 'cli')
|
||||
}
|
||||
|
||||
define('IN_PHPBB', true);
|
||||
|
||||
if (!defined('PHPBB_ENVIRONMENT'))
|
||||
{
|
||||
@define('PHPBB_ENVIRONMENT', 'production');
|
||||
}
|
||||
|
||||
$phpbb_root_path = __DIR__ . '/../';
|
||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||
require($phpbb_root_path . 'includes/startup.' . $phpEx);
|
||||
|
Reference in New Issue
Block a user