Page 1 of 1

Include() in Plugins set some GLOBALS to NULL

Posted: 16 Aug 2020, 17:22
by Dominus
I'm trying to link on SMF and MantisBT by calling SSI.php from SMF in a MantisBT plugin. However, SSI.php has include() in it, as well, with the location partly determined by a global variable. If you set up a var_dump() in the SSI.php file, you will see that the variables work perfectly if the code is placed in the base Mantis directory next to index.php. But, if it is called through a plugin, those same variables receive a NULL value somehow. See https://www.simplemachines.org/communit ... c=574401.0 for SMF's investigation on it.