Commits

Greg Slepak committed a2b45bd

fixed a bug with DFLY_PATH

Comments (0)

Files changed (1)

example-site/dragonfly-framework/dragonfly.lsp

 ;; DFLY_PAGE ;=> "/"</pre>
 (if (empty? QUERY_STRING)
 	(constant (global 'DFLY_PAGE) "/")
-	(constant (global 'DFLY_PAGE) ((parse QUERY_STRING {[?&]} 0) 0))
+	(constant (global 'DFLY_PAGE) (string "/" ((parse QUERY_STRING {[?&]} 0) 0)))
 )
 
 ;; @syntax DFLY_SELF