diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/web/swat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 0c1576edbc..f5c8e286cd 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -405,7 +405,7 @@ static void show_main_buttons(void) image_link("Home", "", "images/home.gif"); /* Root gets full functionality */ - if (am_root() == True) { + if (demo_mode || am_root()) { image_link("Globals", "globals", "images/globals.gif"); image_link("Shares", "shares", "images/shares.gif"); image_link("Printers", "printers", "images/printers.gif"); |