bump to 3.3.4, switch to php8

This commit is contained in:
selim13
2021-08-25 15:15:35 +03:00
parent 5ba9157845
commit 3c799ee8d8
4 changed files with 35 additions and 34 deletions

View File

@@ -1,25 +1,25 @@
<?php
$dbms = 'phpbb\\db\\driver\\' . $_ENV['PHPBB_DB_DRIVER'];
$dbhost = $_ENV['PHPBB_DB_HOST'];
$dbport = $_ENV['PHPBB_DB_PORT'];
$dbname = $_ENV['PHPBB_DB_NAME'];
$dbuser = $_ENV['PHPBB_DB_USER'];
$dbpasswd = $_ENV['PHPBB_DB_PASSWD'];
$table_prefix = $_ENV['PHPBB_DB_TABLE_PREFIX'];
$dbms = 'phpbb\\db\\driver\\' . getenv('PHPBB_DB_DRIVER');
$dbhost = getenv('PHPBB_DB_HOST');
$dbport = getenv('PHPBB_DB_PORT');
$dbname = getenv('PHPBB_DB_NAME');
$dbuser = getenv('PHPBB_DB_USER');
$dbpasswd = getenv('PHPBB_DB_PASSWD');
$table_prefix = getenv('PHPBB_DB_TABLE_PREFIX');
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';
@define('PHPBB_INSTALLED', true);
if ($_ENV['PHPBB_DISPLAY_LOAD_TIME'] === 'true') {
if (getenv('PHPBB_DISPLAY_LOAD_TIME') === 'true') {
@define('PHPBB_DISPLAY_LOAD_TIME', true);
}
if ($_ENV['PHPBB_DEBUG'] === 'true') {
if (getenv('PHPBB_DEBUG') === 'true') {
@define('DEBUG', true);
}
if ($_ENV['PHPBB_DEBUG_CONTAINER'] === 'true') {
if (getenv('PHPBB_DEBUG_CONTAINER') === 'true') {
@define('DEBUG_CONTAINER', true);
}