Hi all!
Is there any chance to modify rcube_plugin_api class to use more than one directory in the load_plugin function (like the load_config in rcube_config class)? With this modification we can use an external plugins dir to store the 3rd party plugins and the original plugins dir to store the plugins from the original distribution.
On Tue, Jan 21, 2014 at 1:11 PM, Sandor Takacs taki@alkoholista.hu wrote:
Hi all!
Is there any chance to modify rcube_plugin_api class to use more than one directory in the load_plugin function (like the load_config in rcube_config class)?
You can certainly try, the code is freely available.
With this modification we can use an external plugins dir to store the 3rd party plugins and the original plugins dir to store the plugins from the original distribution.
But loading plugins from different directories is only half of the story. The plugins directory is also exposed to the outside world and resources like scripts, css files and images are linked to it. This has to be considered as well when you start refactoring the rcube_plugin_api class.
Kind regards, Thomas