Index: branches/5.3.x/core/units/priorites/priorites_config.php =================================================================== diff -u -N -r15483 -r15659 --- branches/5.3.x/core/units/priorites/priorites_config.php (.../priorites_config.php) (revision 15483) +++ branches/5.3.x/core/units/priorites/priorites_config.php (.../priorites_config.php) (revision 15659) @@ -1,6 +1,6 @@ 'priority', - 'EventHandlerClass' => Array ('class' => 'PriorityEventHandler', 'file' => 'priority_eh.php', 'build_event' => 'OnBuild'), +$config = Array ( + 'Prefix' => 'priority', + 'EventHandlerClass' => Array ('class' => 'PriorityEventHandler', 'file' => 'priority_eh.php', 'build_event' => 'OnBuild'), - 'QueryString' => Array ( - 1 => 'prefix', - 2 => 'event', - ), + 'QueryString' => Array ( + 1 => 'prefix', + 2 => 'event', + ), - 'Hooks' => Array ( - Array ( - 'Mode' => hAFTER, - 'Conditional' => false, - 'HookToPrefix' => 'adm', - 'HookToSpecial' => '*', - 'HookToEvent' => Array ('OnBeforeShutdown'), - 'DoPrefix' => 'priority', - 'DoSpecial' => '*', - 'DoEvent' => 'OnBeforeShutdown', - 'Conditional' => false, - ), + 'Hooks' => Array ( + Array ( + 'Mode' => hAFTER, + 'Conditional' => false, + 'HookToPrefix' => 'adm', + 'HookToSpecial' => '*', + 'HookToEvent' => Array ('OnBeforeShutdown'), + 'DoPrefix' => 'priority', + 'DoSpecial' => '*', + 'DoEvent' => 'OnBeforeShutdown', + 'Conditional' => false, ), + ), - 'PermSection' => Array ('main' => 'custom'), + 'PermSection' => Array ('main' => 'custom'), - 'ProcessPrefixes' => Array( - 'c', 'st', 'promo-block', - ), - ); + 'ProcessPrefixes' => Array ( + 'c', 'st', 'promo-block', + ), +);