From d76d1c88a0b298d6b64b07fa264bcf92d581b9ab Mon Sep 17 00:00:00 2001 From: Greg Slepak Date: Fri, 6 Nov 2009 15:29:03 -0500 Subject: [PATCH] fixed api browser on apache --- .hgignore | 1 + .../dragonfly-framework/plugins-inactive/dragonfly_api.lsp | 4 ++-- example-site/views/dragonfly_ajax-api.html | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.hgignore b/.hgignore index 0918b79..505d46c 100644 --- a/.hgignore +++ b/.hgignore @@ -3,3 +3,4 @@ plugins-active/_config\.lsp$ test_.+\.lsp$ \.pxm$ +~$ \ No newline at end of file diff --git a/example-site/dragonfly-framework/plugins-inactive/dragonfly_api.lsp b/example-site/dragonfly-framework/plugins-inactive/dragonfly_api.lsp index 7ab5a02..46ffaea 100755 --- a/example-site/dragonfly-framework/plugins-inactive/dragonfly_api.lsp +++ b/example-site/dragonfly-framework/plugins-inactive/dragonfly_api.lsp @@ -30,7 +30,7 @@
 
- [/text] path) + [/text] (web-root "dragonfly_ajax-api" true) path) ) ) diff --git a/example-site/views/dragonfly_ajax-api.html b/example-site/views/dragonfly_ajax-api.html index 50d35ed..959944b 100644 --- a/example-site/views/dragonfly_ajax-api.html +++ b/example-site/views/dragonfly_ajax-api.html @@ -2,8 +2,6 @@ (let (path ($POST "path")) ; security check! make sure they ain't asking ; for something they shouldn't be asking for! - (log-info "path: " path) - (log-info "our path: " (real-path)) (if (and (find "../api-docs/" path) (ends-with path ".html")) (include path) (die "bad path: " path)