added: SessionContainer special container used by SessionManager
sessions are indexed by id and time (last used time)
changed: old sessions are deleted
parameter: session_max_iddle in the config file
added: function 'who'
git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@483 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -157,4 +157,17 @@ run.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
run.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
run.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
run.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
run.o: ../core/data.h ../app/content.h ../core/functioncodeparser.h
|
||||
run.o: ../core/data.h ../app/content.h
|
||||
who.o: content.h ../templates/templates.h ../../ezc/src/ezc.h ../core/data.h
|
||||
who.o: ../core/misc.h ../core/log.h ../core/item.h ../core/error.h
|
||||
who.o: ../core/dirs.h ../core/db.h ../core/dircontainer.h ../core/user.h
|
||||
who.o: ../core/group.h ../core/ugcontainer.h ../core/users.h ../core/groups.h
|
||||
who.o: ../core/functions.h ../core/function.h ../core/functioncodeparser.h
|
||||
who.o: ../core/request.h ../core/requesttypes.h ../core/session.h
|
||||
who.o: ../core/done.h ../core/getparser.h ../core/httpsimpleparser.h
|
||||
who.o: ../core/postparser.h ../core/cookieparser.h ../core/item.h
|
||||
who.o: ../core/db.h ../core/error.h ../core/user.h ../core/group.h
|
||||
who.o: ../core/users.h ../core/groups.h ../core/log.h
|
||||
who.o: ../templates/patterncacher.h ../app/templates.h ../core/misc.h
|
||||
who.o: ../core/function.h ../core/functionparser.h ../core/request.h
|
||||
who.o: ../core/data.h ../app/content.h
|
||||
|
||||
@@ -53,6 +53,7 @@ class Content
|
||||
void FunMkdir();
|
||||
void FunDefault();
|
||||
void FunRun();
|
||||
void FunWho();
|
||||
|
||||
|
||||
void PostFunLogin();
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
#include "content.h"
|
||||
#include "../app/content.h"
|
||||
#include "../core/functioncodeparser.h"
|
||||
|
||||
|
||||
|
||||
@@ -28,15 +27,6 @@ void Content::FunRun()
|
||||
request.status = Error::permision_denied;
|
||||
return;
|
||||
}
|
||||
|
||||
FunctionCodeParser fc;
|
||||
|
||||
int c = fc.Parse(request.item);
|
||||
|
||||
#ifdef APPFUNCTIONS
|
||||
if( c != FUN_NONE )
|
||||
AppContent::AppFunction(c);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
25
content/who.cpp
Executable file
25
content/who.cpp
Executable file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* This file is a part of CMSLU -- Content Management System like Unix
|
||||
* and is not publicly distributed
|
||||
*
|
||||
* Copyright (c) 2008, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "content.h"
|
||||
#include "../app/content.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void Content::FunRun()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user