fixed: ticket sets a default function only for directories
fixed: reading a new url and subject in Functions::ReadItem() added: tickets are sorted now (by date) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@659 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -175,6 +175,17 @@ return true;
|
||||
}
|
||||
|
||||
|
||||
std::string * Request::PostVarp(const char * var)
|
||||
{
|
||||
PostTab::iterator p = post_tab.find(var);
|
||||
|
||||
if( p == post_tab.end() )
|
||||
return 0;
|
||||
|
||||
return &p->second;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Request::PrintGetTab()
|
||||
{
|
||||
|
@@ -127,8 +127,10 @@ struct Request
|
||||
void SetCookie(const char * name, long value, tm * expires = 0);
|
||||
|
||||
bool IsPostVar(const char * var);
|
||||
const std::string & PostVar(const char * var);
|
||||
const std::string & PostVar(const char * var); // !! zamienic na referencje nie do sta<74>ej (bez const)
|
||||
bool PostVar(const char * var, std::string & result);
|
||||
std::string * PostVarp(const char * var);
|
||||
|
||||
bool AllPostVarEmpty(); // returning true if all post vars are empty
|
||||
|
||||
void SendAll();
|
||||
|
Reference in New Issue
Block a user