Julio Montoya c6e0fccdf3 Speed performance: Use static to avoid querying the database. | %!s(int64=5) %!d(string=hai) anos | |
---|---|---|
.. | ||
lang | %!s(int64=6) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
RedirectionPlugin.php | %!s(int64=5) %!d(string=hai) anos | |
admin.php | %!s(int64=6) %!d(string=hai) anos | |
config.php | %!s(int64=6) %!d(string=hai) anos | |
index.php | %!s(int64=7) %!d(string=hai) anos | |
install.php | %!s(int64=6) %!d(string=hai) anos | |
plugin.php | %!s(int64=6) %!d(string=hai) anos | |
uninstall.php | %!s(int64=6) %!d(string=hai) anos |
Chamilo plugin for the redirection of specific users after they login and redirect from the index.php to the selected URL.
Requires the addition of the following in configuration.php:
$_configuration['plugin_redirection_enabled'] = true;
This setting is defined in configuration.php rather than in settings_current to reduce the load, as it is used on every login.
@TODO Check the load difference for just checking it in settings_current rather than building the plugin object