summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-09 05:25:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:26 -0500
commit8ca17e2f47cb171d615784b2449106135e27f1c2 (patch)
tree26760e26302a0597ced36053c8bd9764eae4d6af
parentfe1cf1eeb7c1b5955cdd2a44540bb46f82490f9a (diff)
downloadsamba-8ca17e2f47cb171d615784b2449106135e27f1c2.tar.gz
samba-8ca17e2f47cb171d615784b2449106135e27f1c2.tar.bz2
samba-8ca17e2f47cb171d615784b2449106135e27f1c2.zip
r8255: enable access to the ejs constants generated by pidl from the web server esp pages
(This used to be commit 354cdf893d7ce36afd6f2776308b3c864f29ce0b)
-rw-r--r--source4/web_server/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c
index 314d919357..981457c535 100644
--- a/source4/web_server/http.c
+++ b/source4/web_server/http.c
@@ -822,6 +822,8 @@ void http_process_input(struct websrv_context *web)
esp->req = espCreateRequest(web, web->input.url, esp->variables);
if (esp->req == NULL) goto internal_error;
+ smb_setup_ejs_constants(esp->req->eid);
+
/* work out the mime type */
p = strrchr(web->input.url, '.');
if (p == NULL) {