From 5f4752f934bdc25c442bc8dedcf67eaeb785c0de Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 16 Jun 2012 14:07:51 +0200 Subject: Documented "global_acls" settings key. --- ratatoeskr/sys/models.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ratatoeskr') diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index 83fa49e..8fa8724 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -43,6 +43,7 @@ $imagetype_file_extensions = array( * "languages" - Array of activated languages. * "last_db_cleanup" - Timestamp of the last database cleanup. * "debugmode" - If the debug mode is enabled (can be overwritten by . + * "global_acls" - IDs of the global s. */ $ratatoeskr_settings = NULL; @@ -1472,7 +1473,7 @@ class ACL extends BySQLRowEnabled if(isset($global_acl_cache[$type])) return $global_acl_cache[$type]; - $acl = self::by_id($ratatoeskr_settings["global_privileges"][$type]); + $acl = self::by_id($ratatoeskr_settings["global_acls"][$type]); $global_acl_cache[$type] = $acl; return $acl; } -- cgit v1.2.3-70-g09d2