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