source: extensions/virtualAutoGrant/VAG_default.php @ 6838

Last change on this file since 6838 was 6610, checked in by vdigital, 14 years ago

Configuration and a complete virtual management ( Physical are not managed at all ).

File size: 490 bytes
Line 
1<?php
2  $default = array(
3        'set_private' => 1,
4        'set_private_by_API' => 1,
5        'grant_to_creator' => 1,
6        'grant_to_webmaster' => 1,
7        'set_who_can_see' => 1,
8        'webmaster_set_who_can_see' => 1,
9        'ignore_who_can_see_on_private' => 1,
10        'Dir' => VAG_DIR,
11        'Path' => VAG_PATH,
12        'Ver' => VAG_VER,
13        );
14  if (!isset($conf['virtual_AutoGrant'])) $conf['virtual_AutoGrant'] = $default;
15  else $conf['virtual_AutoGrant'] = array_merge( $default, unserialize($conf['virtual_AutoGrant']));
16?>
Note: See TracBrowser for help on using the repository browser.