2014-07-14, 10:17 PM
If for some reason I needed to require global.php in my plugin, how could I do this? You can't simply:
...because the plugin is in inc/plugins. So it looks for inc/plugins/global.php.
require_once 'global.php';
...because the plugin is in inc/plugins. So it looks for inc/plugins/global.php.