Skip to content
Snippets Groups Projects
Multisite.setting.php 3.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?php
    /*
     +--------------------------------------------------------------------+
     | CiviCRM version 4.3                                                |
     +--------------------------------------------------------------------+
     | Copyright CiviCRM LLC (c) 2004-2013                                |
     +--------------------------------------------------------------------+
     | This file is a part of CiviCRM.                                    |
     |                                                                    |
     | CiviCRM is free software; you can copy, modify, and distribute it  |
     | under the terms of the GNU Affero General Public License           |
     | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
     |                                                                    |
     | CiviCRM is distributed in the hope that it will be useful, but     |
     | WITHOUT ANY WARRANTY; without even the implied warranty of         |
     | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
     | See the GNU Affero General Public License for more details.        |
     |                                                                    |
     | You should have received a copy of the GNU Affero General Public   |
     | License and the CiviCRM Licensing Exception along                  |
     | with this program; if not, contact CiviCRM LLC                     |
     | at info[AT]civicrm[DOT]org. If you have questions about the        |
     | GNU Affero General Public License or the licensing of CiviCRM,     |
     | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
     +--------------------------------------------------------------------+
    */
    
    /**
     *
     * @package CRM
     * @copyright CiviCRM LLC (c) 2004-2013
     * $Id$
     *
     */
    /*
     * Settings metadata file
     */
    
    return array(
      'multisite_acl_enabled' => array(
        'group_name' => 'Multi Site Preferences',
        'group' => 'multisite',
        'name' => 'multisite_acl_enabled',
        'type' => 'Boolean',
        'default' => 1,
        'add' => '4.3',
        'is_domain' => 1,
        'is_contact' => 0,
        'description' => 'Multisite ACL is enabled',
        'help_text' => 'Should multisite based ACLs be enabled for this site',
      ),
    
      'multisite_custom_tabs_restricted' => array(
        'group_name' => 'Multi Site Preferences',
        'group' => 'multisite',
        'name' => 'multisite_custom_tabs_restricted',
        'type' => 'Boolean',
        'default' => 0,
        'add' => '4.3',
        'is_domain' => 1,
        'is_contact' => 0,
        'description' => 'Limit custom tabs visible on this site',
        'help_text' => 'Should multisite based ACLs be enabled for this site',
      ),
      'multisite_custom_tabs_enabled' => array(
        'group_name' => 'Multi Site Preferences',
        'group' => 'multisite',
        'name' => 'multisite_custom_tabs_enabled',
        'type' => 'Array',
        'default' => NULL,
        'add' => '4.3',
        'is_domain' => 1,
        'is_contact' => 0,
        'description' => 'Array of tabs which should be visible on this site',
        'help_text' => 'Enabled Custom Tabs',
    
       ),
       'multisite_not_use_temp_table' => [
        'group_name' => 'Multi Site Preferences',
        'group' => 'multisite',
        'name' => 'multisite_not_use_temp_table',
        'type' => 'Boolean',
        'default' => 0,
        'add' => '5.20',
        'is_domain' => 1,
        'is_contact' => 0,
        'description' => 'Should we disable the use of temporary tables when building ACL permissions for roles with view all contacts in domain or edit all contacts in domain',
        'html' => 'Checkbox',
      ],
    );