fixed: base_url_redirect config option was not read from the config file
and was not used when checking for base url redirect fixed: return values from plugins should be given in a special structure they were remembered in plugin object (ret_false, ret_true) and consequently were not thread safe now all plugin.Call() methods return PluginRes structure in which there are ret_false and ret_true variables changed: small refactoring in AddUser winix function git-svn-id: svn://ttmath.org/publicrep/winix/trunk@827 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -221,7 +221,11 @@
|
||||
// in l1 you have the old user_id
|
||||
#define WINIX_USER_REMOVED 31020
|
||||
|
||||
|
||||
// here you can check if the domain part of the URL address is correct
|
||||
// if no then set cur-request->redirect_to
|
||||
// and winix will do a 'base url redirect' without making any winix functions
|
||||
// the session pointer in info is null
|
||||
#define WINIX_BASE_URL_REDIRECT 31030
|
||||
|
||||
|
||||
// values from 4000 - 4099 reserved for 'thread' plugin
|
||||
|
Reference in New Issue
Block a user