projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.29
[fms.git]
/
src
/
http
/
pages
/
insertedfilespage.cpp
diff --git
a/src/http/pages/insertedfilespage.cpp
b/src/http/pages/insertedfilespage.cpp
index
e97bf63
..
dbd27b0
100644
(file)
--- a/
src/http/pages/insertedfilespage.cpp
+++ b/
src/http/pages/insertedfilespage.cpp
@@
-10,11
+10,11
@@
const std::string InsertedFilesPage::GeneratePage(const std::string &method, con
{
\r
std::string content="<h2>Inserted Files</h2>";
\r
\r
{
\r
std::string content="<h2>Inserted Files</h2>";
\r
\r
+ Option option(m_db);
\r
std::string node="localhost";
\r
std::string node="localhost";
\r
-
Option::Instance()->
Get("FCPHost",node);
\r
+
option.
Get("FCPHost",node);
\r
std::string fproxyport="8888";
\r
std::string fproxyport="8888";
\r
- Option::Instance()->Get("FProxyPort",fproxyport);
\r
-
\r
+ option.Get("FProxyPort",fproxyport);
\r
\r
if(queryvars.find("formaction")!=queryvars.end() && (*queryvars.find("formaction")).second=="removefile" && queryvars.find("fileid")!=queryvars.end() && ValidateFormPassword(queryvars))
\r
{
\r
\r
if(queryvars.find("formaction")!=queryvars.end() && (*queryvars.find("formaction")).second=="removefile" && queryvars.find("fileid")!=queryvars.end() && ValidateFormPassword(queryvars))
\r
{
\r