summaryrefslogtreecommitdiffabout
path: root/src
Unidiff
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/sitecing-fastcgi.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sitecing-fastcgi.cc b/src/sitecing-fastcgi.cc
index 03587aa..d8f18a6 100644
--- a/src/sitecing-fastcgi.cc
+++ b/src/sitecing-fastcgi.cc
@@ -176,12 +176,13 @@ void sitecing_fastcgi_pm::process(int slot) {
176 if(sl==string::npos) 176 if(sl==string::npos)
177 throw konforka::exception(CODEPOINT,"can't find the target component"); 177 throw konforka::exception(CODEPOINT,"can't find the target component");
178 sitecing_path_info.insert(0,component_path,sl,string::npos); 178 sitecing_path_info.insert(0,component_path,sl,string::npos);
179 component_path.erase(sl); 179 component_path.erase(sl);
180 } 180 }
181 fi.metavars["SITECING_PATH_INFO"]=sitecing_path_info; 181 fi.metavars["SITECING_PATH_INFO"]=sitecing_path_info;
182 fi.metavars["SITECING_COMPONENT_PATH"]=component_path;
182 action = component_path; 183 action = component_path;
183 action_handler = config.lookup_action_handler(component_path); 184 action_handler = config.lookup_action_handler(component_path);
184 if(action_handler) { 185 if(action_handler) {
185 action = action_handler->action; 186 action = action_handler->action;
186 } 187 }
187 string pwd = konforka::dir_name(full_component_path); 188 string pwd = konforka::dir_name(full_component_path);