diff --git a/inc/always.php b/inc/always.php index 4225ac4e..7f3e0073 100644 --- a/inc/always.php +++ b/inc/always.php @@ -51,8 +51,6 @@ $c->protocol_server_port_script = sprintf( "%s://%s%s%s", (isset($_SERVER['HTTPS ), ($_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' ); if ( file_exists("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") ) { diff --git a/inc/always.php.in b/inc/always.php.in index 588a5fa8..edab94fc 100644 --- a/inc/always.php.in +++ b/inc/always.php.in @@ -51,8 +51,6 @@ $c->protocol_server_port_script = sprintf( "%s://%s%s%s", (isset($_SERVER['HTTPS ), ($_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' ); if ( file_exists("/etc/davical/".$_SERVER['SERVER_NAME']."-conf.php") ) {