Julio Montoya c6e0fccdf3 Speed performance: Use static to avoid querying the database. | 5 лет назад | |
---|---|---|
.. | ||
lang | 6 лет назад | |
README.md | 5 лет назад | |
RedirectionPlugin.php | 5 лет назад | |
admin.php | 6 лет назад | |
config.php | 6 лет назад | |
index.php | 7 лет назад | |
install.php | 6 лет назад | |
plugin.php | 6 лет назад | |
uninstall.php | 6 лет назад |
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