mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
Merge pull request #6154 from rxu/ticket/16719
[ticket/16719] Fix PHP notice/warning on installation
This commit is contained in:
commit
ae7f38331d
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
||||||
*/
|
*/
|
||||||
define('IN_PHPBB', true);
|
define('IN_PHPBB', true);
|
||||||
define('IN_INSTALL', true);
|
define('IN_INSTALL', true);
|
||||||
|
if (!defined('PHPBB_ENVIRONMENT'))
|
||||||
|
{
|
||||||
define('PHPBB_ENVIRONMENT', 'production');
|
define('PHPBB_ENVIRONMENT', 'production');
|
||||||
|
}
|
||||||
$phpbb_root_path = '../';
|
$phpbb_root_path = '../';
|
||||||
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
$phpEx = substr(strrchr(__FILE__, '.'), 1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue