mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*Skylark: .ini session_table issue fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@5294 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0799e7e858
commit
e00505767d
3 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ template <class O, class M, class T>
|
|||
struct CallbackMethodActionArg : public CallbackAction {
|
||||
O *object;
|
||||
M method;
|
||||
T arg;
|
||||
T arg;
|
||||
|
||||
void Execute() { (object->*method)(arg); }
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ SkylarkSessionConfig::SkylarkSessionConfig()
|
|||
data_column = (String)Ini::session_data_column;
|
||||
lastwrite_column = (String)Ini::session_lastwrite_column;
|
||||
expire = Ini::session_expire;
|
||||
table = (String)Ini::session_table;
|
||||
}
|
||||
|
||||
String Http::SessionFile(const String& sid)
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ which defaults to `"ID`".&]
|
|||
[s5;:SkylarkSessionConfig`:`:lastwrite`_column: [_^SqlId^ SqlId]_[* lastwrite`_column]&]
|
||||
[s2;%% SQL table column used to store last`-write time of session.
|
||||
Column must be able to store Time type. Default value is loaded
|
||||
from `"session`_last`_column`" .ini parameter, which defaults
|
||||
from `"session`_lastwrite`_column`" .ini parameter, which defaults
|
||||
to `"LASTWRITE`".&]
|
||||
[s3; &]
|
||||
[s4; &]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue