2011-02-08, 00:27:29
jimmivader Wrote:there is same weird conflict with massmailler plugin, when updating or deleting gallery there path are getting messed up
Each plugin should prefix global variables and constants with a plugin specifix string, e.g. $gsgal_path, GSGAL_DATA_PATH. Function names should also include a plugin specific string, e.g. function get_gsgal_galleries(). This would minimize name clashes.
Namespaces could be an alternative also, but I don't know enough about them.