Revision 546
Added by doc almost 18 years ago
| index.php | ||
|---|---|---|
| 63 | 63 |
// Check if installation directory still exists |
| 64 | 64 |
if(file_exists(WB_PATH.'/install/')) {
|
| 65 | 65 |
// Check if user is part of Adminstrators group |
| 66 |
if($admin->get_group_id() == 1) {
|
|
| 66 |
if(in_array(1, $admin->get_groups_id())) {
|
|
| 67 | 67 |
$template->set_var('WARNING', $MESSAGE['START']['INSTALL_DIR_EXISTS']);
|
| 68 | 68 |
} else {
|
| 69 | 69 |
$template->set_var('DISPLAY_WARNING', 'none');
|
Also available in: Unified diff
added the "users in multiple groups" feature (closes parts of ticket #546)