Changeset 1161 in ExiteCMS for modules/common/wiki/php-files/modules/wiki/wikka.config.php
- Timestamp:
- 12/08/07 00:11:27 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/wiki/php-files/modules/wiki/wikka.config.php
r1058 r1161 70 70 $wakkaConfig['stylesheet'] = 'css/wikka.css'; 71 71 } 72 73 // generate the default write ACL based on group membership 74 /*$result = dbquery("SELECT * FROM ".$db_prefix."user_groups WHERE group_name = 'Wiki Editors'"); 75 if ($data = dbarray($result)) { 76 $users = allusersingroup($data['group_id']); 77 $acl = ""; 78 foreach ($users as $user) { 79 $acl .= ($acl == "" ? "" : "\n") . $user['user_name']; 80 } 81 if ($acl != "") $wakkaConfig['default_write_acl'] = $acl; 82 }*/ 72 // if the current user is an admin, add the username to the list of admins 73 $wakkaConfig['admin_users'] = checkgroup($wakkaConfig['admin_group']) ? (iMEMBER ? $userdata['user_name'] : "*") : ""; 83 74 ?>
Note: See TracChangeset
for help on using the changeset viewer.
