fixes #1841 register system activities

This commit is contained in:
plegall
2022-12-24 17:36:35 +01:00
parent b08fd91edc
commit bb69269239
15 changed files with 151 additions and 14 deletions
+5
View File
@@ -30,6 +30,11 @@ define('ACCESS_ADMINISTRATOR', 3);
define('ACCESS_WEBMASTER', 4);
define('ACCESS_CLOSED', 5);
// System activities
define('ACTIVITY_SYSTEM_CORE', 1);
define('ACTIVITY_SYSTEM_PLUGIN', 2);
define('ACTIVITY_SYSTEM_THEME', 3);
// Sanity checks
define('PATTERN_ID', '/^\d+$/');