trigger_error('Depricated Hook Usage [prefix: <strong>'.$config['Prefix'].'</strong>; do_prefix: <strong>'.$hook['DoPrefix'].'</strong>] use <strong>#PARENT#</strong> as <strong>HookToPrefix</strong> value, where HookToPrefix is same as ParentPrefix',defined('E_USER_DEPRECATED')?E_USER_DEPRECATED:E_USER_NOTICE);
}
if($hook['HookToPrefix']==''){
// new: set hooktoprefix to current prefix if not set
$hook['HookToPrefix']=$config['Prefix'];
}
if(isset($config['ParentPrefix'])){
// new: allow to set hook to parent prefix what ever it is
trigger_error('Depricated Aggregate Tag Usage [prefix: <b>'.$config['Prefix'].'</b>; AggregateTo: <b>'.$aggregate_tag['AggregateTo'].'</b>] use <b>#PARENT#</b> as <b>AggregateTo</b> value, where AggregateTo is same as ParentPrefix',defined('E_USER_DEPRECATED')?E_USER_DEPRECATED:E_USER_NOTICE);
$error_prefix='<strong class="debug_error">Config Error'.(count($config_errors)>1?'s':'').': </strong> for prefix <strong>'.$config_link.'</strong> ('.$tablename.') in unit config:<br />';