summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-15 20:25:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-08-15 20:25:13 +0000
commit56ab42eee7193d7d36b54522fa2dc251acb396fd (patch)
tree571c139d02f740f2f3aefe77ff3ba2b73bbdce88 /nuttx/netutils/thttpd/config.h
parent0ddbcb2ada560e33f79f302c6287305acdc34e62 (diff)
downloadnuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.tar.gz
nuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.tar.bz2
nuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.zip
Get rid of cwd in THTTPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2021 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r--nuttx/netutils/thttpd/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h
index 2fe70539a..dce61a32d 100644
--- a/nuttx/netutils/thttpd/config.h
+++ b/nuttx/netutils/thttpd/config.h
@@ -88,6 +88,13 @@
# define CONFIG_THTTPD_SERVER_SOFTWARE "thttpd/2.25b 29dec2003-NuttX"
# endif
+# ifndef CONFIG_THTTPD_PATH
+# ifdef CONFIG_CPP_HAVE_WARNING
+# warning "CONFIG_THTTPD_PATH not defined"
+# endif
+# define CONFIG_THTTPD_PATH "/mnt/www"
+# endif
+
# ifndef CONFIG_THTTPD_CGI_PATH
# ifdef CONFIG_CPP_HAVE_WARNING
# warning "CONFIG_THTTPD_CGI_PATH not defined"