Try this:
Code:
$config = 'EE2/udm/udm-custom.ini';
What you have may already be the equivalent of this, but I'm still convinced this is where the problem lies. When a problem like yours has come up before in the forums, this is usually what needs to change to fix it.