Fossil SCM

Honour global web-browser setting if running fossil ui with a path to a repository.

preben 2023-11-16 12:23 trunk merge
Commit 200247bc62f03ca804a5666e2e634a06ff07975156832f94ac59a1df36c9e5a3
1 file changed +1 -1
+1 -1
--- src/main.c
+++ src/main.c
@@ -3325,11 +3325,11 @@
33253325
mxPort = iPort+100;
33263326
}
33273327
if( isUiCmd && !fNoBrowser ){
33283328
char *zBrowserArg;
33293329
const char *zProtocol = g.httpUseSSL ? "https" : "http";
3330
- if( zRemote ) db_open_config(0,0);
3330
+ db_open_config(0,0);
33313331
zBrowser = fossil_web_browser();
33323332
if( zIpAddr==0 ){
33333333
zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage);
33343334
}else if( strchr(zIpAddr,':') ){
33353335
zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage);
33363336
--- src/main.c
+++ src/main.c
@@ -3325,11 +3325,11 @@
3325 mxPort = iPort+100;
3326 }
3327 if( isUiCmd && !fNoBrowser ){
3328 char *zBrowserArg;
3329 const char *zProtocol = g.httpUseSSL ? "https" : "http";
3330 if( zRemote ) db_open_config(0,0);
3331 zBrowser = fossil_web_browser();
3332 if( zIpAddr==0 ){
3333 zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage);
3334 }else if( strchr(zIpAddr,':') ){
3335 zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage);
3336
--- src/main.c
+++ src/main.c
@@ -3325,11 +3325,11 @@
3325 mxPort = iPort+100;
3326 }
3327 if( isUiCmd && !fNoBrowser ){
3328 char *zBrowserArg;
3329 const char *zProtocol = g.httpUseSSL ? "https" : "http";
3330 db_open_config(0,0);
3331 zBrowser = fossil_web_browser();
3332 if( zIpAddr==0 ){
3333 zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage);
3334 }else if( strchr(zIpAddr,':') ){
3335 zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage);
3336

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button