Index: branches/unlabeled/unlabeled-1.7.2/kernel/constants.php =================================================================== diff -u -r5637 -r5858 --- branches/unlabeled/unlabeled-1.7.2/kernel/constants.php (.../constants.php) (revision 5637) +++ branches/unlabeled/unlabeled-1.7.2/kernel/constants.php (.../constants.php) (revision 5858) @@ -23,6 +23,10 @@ define('erFATAL', -2); // event experienced FATAL error - no hooks should continue! define('erPERM_FAIL', -3); // event failed on internal permission checking (user has not permission) + // permission types + define('ptCATEGORY', 0); + define('ptSYSTEM', 1); + $application =& kApplication::Instance(); $spacer_url = $application->BaseURL().'kernel/admin_templates/img/spacer.gif'; define('SPACER_URL', $spacer_url);