Added support for a CustomGlobals.php hook.