changed: now we are parsing directories and functions before checking a session
added: need_session to FunctionBase (true if the functions requires a session)
default: true
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1114 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -45,6 +45,7 @@ FunctionBase::FunctionBase()
|
||||
follow_symlinks = true;
|
||||
template_index = size_t(-1);
|
||||
need_ssl = false;
|
||||
need_session = true;
|
||||
|
||||
fun.user_id = -1;
|
||||
fun.group_id = -1;
|
||||
|
||||
@@ -80,6 +80,10 @@ public:
|
||||
// (this option is ignored if 'use_ssl' in the config is false)
|
||||
bool need_ssl;
|
||||
|
||||
// true if the function need a session object
|
||||
// if false then a temporary session is used
|
||||
bool need_session;
|
||||
|
||||
virtual void Init();
|
||||
virtual bool HasAccess();
|
||||
virtual void MakePost();
|
||||
|
||||
Reference in New Issue
Block a user