summaryrefslogtreecommitdiffabout
path: root/htdocs/handlers/exception_dev
authorMichael Krelin <hacker@klever.net>2005-04-25 17:07:02 (UTC)
committer Michael Krelin <hacker@klever.net>2005-04-25 17:07:02 (UTC)
commit33efe232e5ed39c2dcb486fc1c381f09654c0126 (patch) (unidiff)
tree967b0c795cc8c407234640ed196c18c259394f6a /htdocs/handlers/exception_dev
parentdc836540970e798a91ae9460690e4462365e770a (diff)
downloadsitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.zip
sitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.tar.gz
sitecing-33efe232e5ed39c2dcb486fc1c381f09654c0126.tar.bz2
1. -svn-ed version
2. made changes necessary to get along well with recent konforka-sitecing changes
Diffstat (limited to 'htdocs/handlers/exception_dev') (more/less context) (ignore whitespace changes)
-rw-r--r--htdocs/handlers/exception_dev7
1 files changed, 4 insertions, 3 deletions
diff --git a/htdocs/handlers/exception_dev b/htdocs/handlers/exception_dev
index d8c84e1..d62f462 100644
--- a/htdocs/handlers/exception_dev
+++ b/htdocs/handlers/exception_dev
@@ -11,4 +11,5 @@
11 #include <sitecing/util.h> 11 #include <sitecing/util.h>
12 #include <sitecing/magic.h> 12 #include <sitecing/magic.h>
13 #include <konforka/util.h>
13 #include <konforka/exception.h> 14 #include <konforka/exception.h>
14</%impl> 15</%impl>
@@ -255,5 +256,5 @@
255 } 256 }
256 if((oel>0 && !oef.empty()) && (oel!=error_line || oef!=error_file)) { 257 if((oel>0 && !oef.empty()) && (oel!=error_line || oef!=error_file)) {
257 string ef = "/"+sitecing::combine_path(root_source+component,oef); 258 string ef = "/"+konforka::combine_path(root_source+component,oef);
258 report_error(ef,oel,remove_roots(cumulative)); 259 report_error(ef,oel,remove_roots(cumulative));
259 cumulative.clear(); 260 cumulative.clear();
@@ -265,5 +266,5 @@
265 } 266 }
266 if(!(cumulative.empty() || error_file.empty() || error_line<0)) { 267 if(!(cumulative.empty() || error_file.empty() || error_line<0)) {
267 error_file = "/"+sitecing::combine_path(root_source+component,error_file); 268 error_file = "/"+konforka::combine_path(root_source+component,error_file);
268 report_error(error_file,error_line,remove_roots(cumulative)); 269 report_error(error_file,error_line,remove_roots(cumulative));
269 } 270 }
@@ -319,5 +320,5 @@
319</%method> 320</%method>
320<%codemethod string strip_roots(const string& filename) %> 321<%codemethod string strip_roots(const string& filename) %>
321 string np = sitecing::normalize_path(filename); 322 string np = konforka::normalize_path(filename);
322 try{ 323 try{
323 return sitecing::strip_prefix(np,root_source); 324 return sitecing::strip_prefix(np,root_source);