Julio Montoya c6e0fccdf3 Speed performance: Use static to avoid querying the database. | 5 years ago | |
---|---|---|
.. | ||
lang | 6 years ago | |
README.md | 5 years ago | |
RedirectionPlugin.php | 5 years ago | |
admin.php | 6 years ago | |
config.php | 6 years ago | |
index.php | 7 years ago | |
install.php | 6 years ago | |
plugin.php | 6 years ago | |
uninstall.php | 6 years ago |
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