diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-06-16 14:07:51 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-06-16 14:07:51 +0200 |
commit | 5f4752f934bdc25c442bc8dedcf67eaeb785c0de (patch) | |
tree | 949f33ec0c30ff7a9fbf33a5570e084c02584833 /ratatoeskr | |
parent | f7cfbb6bdbbcd07e86a02a6e1f41590e27a2feb5 (diff) | |
download | ratatoeskr-cms-5f4752f934bdc25c442bc8dedcf67eaeb785c0de.tar.gz ratatoeskr-cms-5f4752f934bdc25c442bc8dedcf67eaeb785c0de.tar.bz2 ratatoeskr-cms-5f4752f934bdc25c442bc8dedcf67eaeb785c0de.zip |
Documented "global_acls" settings key.
Diffstat (limited to 'ratatoeskr')
-rw-r--r-- | ratatoeskr/sys/models.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 <config.php>. + * "global_acls" - IDs of the global <ACL>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; } |