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