Setting globals is done at https://github.com/madhuracj/phpmyadmin/blob/e9d4b21e5819aacc9588c83317bdece2d63632aa/libraries/relation.lib.php#L1879
Did you mean anything else?