r8255: enable access to the ejs constants generated by pidl from the web server esp...
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Jul 2005 05:25:08 +0000 (05:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:19:26 +0000 (13:19 -0500)
source/web_server/http.c

index 314d919357010e16437a4c98853a9fa4fc40463e..981457c535ca41fe2ad7b4c384c791108c1e72d2 100644 (file)
@@ -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) {