<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.7 |
+ | CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
'is_contact' => 0,
'description' => "Set this value to Yes if you want to display a backtrace listing when a fatal error is encountered. This feature should NOT be enabled for production sites",
),
+ 'environment' => array(
+ 'group_name' => 'Developer Preferences',
+ 'group' => 'developer',
+ 'name' => 'environment',
+ 'type' => 'String',
+ 'html_type' => 'Select',
+ 'quick_form_type' => 'Select',
+ 'default' => 'Production',
+ 'pseudoconstant' => array(
+ 'optionGroupName' => 'environment',
+ ),
+ 'add' => '4.7',
+ 'title' => 'Environment',
+ 'is_domain' => 1,
+ 'is_contact' => 0,
+ 'description' => "Setting to define the environment in which this CiviCRM instance is running.",
+ 'on_change' => array(
+ 'CRM_Core_BAO_Setting::onChangeEnvironmentSetting',
+ ),
+ ),
'fatalErrorHandler' => array(
'group_name' => 'Developer Preferences',
'group' => 'developer',