Fossil SCM
Enable 'allow-symlinks' setting by default on non-Windows platforms.
Commit
6ee986b1d73a766d71868f647d74cb490ab06013
Parent
c985d905c67d993…
1 file changed
+4
M
src/db.c
+4
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -2356,11 +2356,15 @@ | ||
| 2356 | 2356 | #endif /* INTERFACE */ |
| 2357 | 2357 | |
| 2358 | 2358 | const Setting aSetting[] = { |
| 2359 | 2359 | { "access-log", 0, 0, 0, 0, "off" }, |
| 2360 | 2360 | { "admin-log", 0, 0, 0, 0, "off" }, |
| 2361 | +#if defined(_WIN32) | |
| 2361 | 2362 | { "allow-symlinks", 0, 0, 1, 0, "off" }, |
| 2363 | +#else | |
| 2364 | + { "allow-symlinks", 0, 0, 1, 0, "on" }, | |
| 2365 | +#endif | |
| 2362 | 2366 | { "auto-captcha", "autocaptcha", 0, 0, 0, "on" }, |
| 2363 | 2367 | { "auto-hyperlink", 0, 0, 0, 0, "on", }, |
| 2364 | 2368 | { "auto-shun", 0, 0, 0, 0, "on" }, |
| 2365 | 2369 | { "autosync", 0, 0, 0, 0, "on" }, |
| 2366 | 2370 | { "autosync-tries", 0, 16, 0, 0, "1" }, |
| 2367 | 2371 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2356,11 +2356,15 @@ | |
| 2356 | #endif /* INTERFACE */ |
| 2357 | |
| 2358 | const Setting aSetting[] = { |
| 2359 | { "access-log", 0, 0, 0, 0, "off" }, |
| 2360 | { "admin-log", 0, 0, 0, 0, "off" }, |
| 2361 | { "allow-symlinks", 0, 0, 1, 0, "off" }, |
| 2362 | { "auto-captcha", "autocaptcha", 0, 0, 0, "on" }, |
| 2363 | { "auto-hyperlink", 0, 0, 0, 0, "on", }, |
| 2364 | { "auto-shun", 0, 0, 0, 0, "on" }, |
| 2365 | { "autosync", 0, 0, 0, 0, "on" }, |
| 2366 | { "autosync-tries", 0, 16, 0, 0, "1" }, |
| 2367 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -2356,11 +2356,15 @@ | |
| 2356 | #endif /* INTERFACE */ |
| 2357 | |
| 2358 | const Setting aSetting[] = { |
| 2359 | { "access-log", 0, 0, 0, 0, "off" }, |
| 2360 | { "admin-log", 0, 0, 0, 0, "off" }, |
| 2361 | #if defined(_WIN32) |
| 2362 | { "allow-symlinks", 0, 0, 1, 0, "off" }, |
| 2363 | #else |
| 2364 | { "allow-symlinks", 0, 0, 1, 0, "on" }, |
| 2365 | #endif |
| 2366 | { "auto-captcha", "autocaptcha", 0, 0, 0, "on" }, |
| 2367 | { "auto-hyperlink", 0, 0, 0, 0, "on", }, |
| 2368 | { "auto-shun", 0, 0, 0, 0, "on" }, |
| 2369 | { "autosync", 0, 0, 0, 0, "on" }, |
| 2370 | { "autosync-tries", 0, 16, 0, 0, "1" }, |
| 2371 |