Fossil SCM
Honour global web-browser setting if running fossil ui with a path to a repository.
Commit
200247bc62f03ca804a5666e2e634a06ff07975156832f94ac59a1df36c9e5a3
Parent
b87bd729278fca0…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -3325,11 +3325,11 @@ | ||
| 3325 | 3325 | mxPort = iPort+100; |
| 3326 | 3326 | } |
| 3327 | 3327 | if( isUiCmd && !fNoBrowser ){ |
| 3328 | 3328 | char *zBrowserArg; |
| 3329 | 3329 | const char *zProtocol = g.httpUseSSL ? "https" : "http"; |
| 3330 | - if( zRemote ) db_open_config(0,0); | |
| 3330 | + db_open_config(0,0); | |
| 3331 | 3331 | zBrowser = fossil_web_browser(); |
| 3332 | 3332 | if( zIpAddr==0 ){ |
| 3333 | 3333 | zBrowserArg = mprintf("%s://localhost:%%d/%s", zProtocol, zInitPage); |
| 3334 | 3334 | }else if( strchr(zIpAddr,':') ){ |
| 3335 | 3335 | zBrowserArg = mprintf("%s://[%s]:%%d/%s", zProtocol, zIpAddr, zInitPage); |
| 3336 | 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 | 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 |