�ɲɾ�����ӯ�����һ��ˣ��������С���˴��ͣ�������P���ҹ��ñ˽��ά�Բ��������˸߸ԣ�������ơ��ҹ��ñ�����ά�Բ���ˡ���˳^�ӣ������ӡ� ���ͯj�ӣ��ƺ���ӣ� ? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!. */ class Conf { private string $dbHost; private string $dbPort; private string $dbName; private string $dbUser; private string $dbPass; public function __construct() { $this->dbHost = '[[softdbhost]]'; $this->dbPort = '3306'; if (defined('ENVIRONMENT') && ENVIRONMENT == 'test') { $prefix = defined('TEST_DB_PREFIX') ? TEST_DB_PREFIX : ''; $this->dbName = $prefix . 'test_[[softdb]]'; } else { $this->dbName = '[[softdb]]'; } $this->dbUser = '[[softdbuser]]'; $this->dbPass = '[[softdbpass]]'; } /** * @return string */ public function getDbHost(): string { return $this->dbHost; } /** * @return string */ public function getDbPort(): string { return $this->dbPort; } /** * @return string */ public function getDbName(): string { return $this->dbName; } /** * @return string */ public function getDbUser(): string { return $this->dbUser; } /** * @return string */ public function getDbPass(): string { return $this->dbPass; } }