mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Support for IDN domains (#909)
This commit is contained in:
parent
0a8fea75c5
commit
4b848df266
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ $bb_cfg['cache'] = [
|
||||||
$bb_cfg['datastore_type'] = 'filecache';
|
$bb_cfg['datastore_type'] = 'filecache';
|
||||||
|
|
||||||
// Server
|
// Server
|
||||||
$bb_cfg['server_name'] = $domain_name = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : $reserved_name;
|
$bb_cfg['server_name'] = $domain_name = !empty($_SERVER['SERVER_NAME']) ? idn_to_utf8($_SERVER['SERVER_NAME']) : $reserved_name;
|
||||||
$bb_cfg['server_port'] = !empty($_SERVER['SERVER_PORT']) ? $_SERVER['SERVER_PORT'] : $reserved_port;
|
$bb_cfg['server_port'] = !empty($_SERVER['SERVER_PORT']) ? $_SERVER['SERVER_PORT'] : $reserved_port;
|
||||||
$bb_cfg['script_path'] = '/'; // The path where FORUM is located relative to the domain name
|
$bb_cfg['script_path'] = '/'; // The path where FORUM is located relative to the domain name
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue