73 |
|
this->path = *node/"jargon"; |
74 |
|
this->matcher = *node/"matcher"; |
75 |
|
|
76 |
< |
char* path[] = { new char[this->path.size()] }; |
76 |
> |
char* path[] = { new char[this->path.GetData().GetSize()] }; |
77 |
|
|
78 |
< |
std::strcpy(path[0], this->path.c_str()); |
78 |
> |
std::strcpy(path[0], this->path.NullTerminate()); |
79 |
|
|
80 |
|
::FTS* traversal(::fts_open(path, FTS_LOGICAL, NULL)); |
81 |
|
Matcher matcher("^" + this->path + "/(" + this->matcher + ")$"); |
171 |
|
{ |
172 |
|
api::Cout << "Content-Type: text/html; charset=UTF-8\r\n\r\n"; |
173 |
|
|
174 |
< |
Jargon jargon(path + "/" + selection, cgi.find("include") != cgi.end() |
174 |
> |
Jargon jargon(path, selection, cgi.find("include") != cgi.end() |
175 |
|
&& lexical_cast<bool>(ext::String(cgi.find("include")->second)), |
176 |
|
cgi.find("relative") != cgi.end() |
177 |
|
? ext::String(cgi.find("relative")->second) : ext::String()); |