corbosman
2015-01-06 de89d46be24f6b3454a0c0e62973af947b22ff29
refs
author corbosman <cor@xs4all.net>
Tuesday, January 6, 2015 15:48 -0500
committer corbosman <cor@xs4all.net>
Wednesday, February 4, 2015 07:17 -0500
commitde89d46be24f6b3454a0c0e62973af947b22ff29
tree ba1faa661c200a91c281b80614b2745fc79f8b83 tree | zip | gz
parent fe653e312206f57b0937193d8f7be46518a619d2 view | diff
Load plugins before sessions have started

Move the plugin loading phase to before sessions have started allowing plugins to add session drivers. Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
2 files modified
55 ■■■■ changed files
program/include/rcmail.php 8 ●●●●● diff | view | raw | blame | history
program/lib/Roundcube/rcube_plugin_api.php 47 ●●●● diff | view | raw | blame | history