mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
fixes #1841 register system activities
This commit is contained in:
@@ -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+$/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user