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