-rw-r--r-- | htdocs/sources.chtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/htdocs/sources.chtml b/htdocs/sources.chtml index 268b0e0..57a03e9 100644 --- a/htdocs/sources.chtml +++ b/htdocs/sources.chtml @@ -3,8 +3,9 @@ %%derive sources = "/ancestry/sources.chtml"; %%pragma main=page <%impl> #include <sitecing/sitecing_util.h> + #include <konforka/util.h> </%impl> <%constructor> b_strict = false; PN_PREV("/quickref/metasyntax","syntax","meta syntax"); @@ -30,11 +31,11 @@ % } </ul> <%code> - string rfile = sitecing::normalize_path( + string rfile = konforka::normalize_path( sitecing::strip_prefix(__CGI->get_meta("PATH_INFO"),"/sources.chtml"), - sitecing::restrict_dotdot|sitecing::strip_leading_slash ); + konforka::restrict_dotdot|konforka::strip_leading_slash ); if(rfile.empty()) rfile = "about:blank"; else rfile = "/view/"+rfile; |