Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -r4785 -r4788 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4785) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 4788) @@ -288,9 +288,15 @@ $hook['HookToPrefix'] = $config['Prefix']; // new: set hooktoprefix to current prefix if not set } - if (isset($config['ParentPrefix']) && $hook['HookToPrefix'] == '#PARENT#') { + if (isset($config['ParentPrefix'])) { // new: allow to set hook to parent prefix what ever it is - $hook['HookToPrefix'] = $config['ParentPrefix']; + if ($hook['HookToPrefix'] == '#PARENT#') { + $hook['HookToPrefix'] = $config['ParentPrefix']; + } + + if ($hook['DoPrefix'] == '#PARENT#') { + $hook['DoPrefix'] = $config['ParentPrefix']; + } } $do_prefix = $hook['DoPrefix'] == '' ? $config['Prefix'] : $hook['DoPrefix'];