mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-22 17:16:06 +00:00
Slightly tweak the protocol_server_port to account for /
This commit is contained in:
parent
1f57165ef8
commit
c3943f3687
@ -49,7 +49,9 @@ $c->protocol_server_port_script = sprintf( "%s://%s%s%s", (isset($_SERVER['HTTPS
|
||||
? ''
|
||||
: ':'.$_SERVER['SERVER_PORT']
|
||||
),
|
||||
$_SERVER['SCRIPT_NAME'] );
|
||||
($_SERVER['SCRIPT_NAME'] == '/index.php' ? '' : $_SERVER['SCRIPT_NAME']) );
|
||||
|
||||
$c->protocol_server_port_script = ($_SERVER['SCRIPT_NAME'] == '/index.php' ? '' : $_SERVER['SCRIPT_NAME']);
|
||||
|
||||
init_gettext( 'rscds', '../locale' );
|
||||
|
||||
|
||||
@ -49,7 +49,9 @@ $c->protocol_server_port_script = sprintf( "%s://%s%s%s", (isset($_SERVER['HTTPS
|
||||
? ''
|
||||
: ':'.$_SERVER['SERVER_PORT']
|
||||
),
|
||||
$_SERVER['SCRIPT_NAME'] );
|
||||
($_SERVER['SCRIPT_NAME'] == '/index.php' ? '' : $_SERVER['SCRIPT_NAME']) );
|
||||
|
||||
$c->protocol_server_port_script = ($_SERVER['SCRIPT_NAME'] == '/index.php' ? '' : $_SERVER['SCRIPT_NAME']);
|
||||
|
||||
init_gettext( 'rscds', '../locale' );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user