projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.2.12
[fms.git]
/
src
/
http
/
pages
/
insertedfilespage.cpp
diff --git
a/src/http/pages/insertedfilespage.cpp
b/src/http/pages/insertedfilespage.cpp
index
13abc3d
..
c9d4684
100644
(file)
--- a/
src/http/pages/insertedfilespage.cpp
+++ b/
src/http/pages/insertedfilespage.cpp
@@
-15,6
+15,8
@@
const std::string InsertedFilesPage::GeneratePage(const std::string &method, con
\r
std::string node="localhost";
\r
Option::Instance()->Get("FCPHost",node);
\r
\r
std::string node="localhost";
\r
Option::Instance()->Get("FCPHost",node);
\r
+ std::string fproxyport="8888";
\r
+ Option::Instance()->Get("FProxyPort",fproxyport);
\r
\r
while(st.RowReturned())
\r
{
\r
\r
while(st.RowReturned())
\r
{
\r
@@
-26,7
+28,7
@@
const std::string InsertedFilesPage::GeneratePage(const std::string &method, con
st.ResultText(1,filename);
\r
st.ResultText(2,sizestr);
\r
\r
st.ResultText(1,filename);
\r
st.ResultText(2,sizestr);
\r
\r
- content+="<a href=\"http://"+node+":
8888
/"+StringFunctions::UriEncode(key)+"\">"+SanitizeOutput(filename)+"</a> - "+sizestr+" bytes";
\r
+ content+="<a href=\"http://"+node+":
"+fproxyport+"
/"+StringFunctions::UriEncode(key)+"\">"+SanitizeOutput(filename)+"</a> - "+sizestr+" bytes";
\r
content+="<br>";
\r
\r
st.Step();
\r
content+="<br>";
\r
\r
st.Step();
\r