X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FDeveloper.setting.php;h=df66912bda4e58d990db2670a55a3b9876f91a59;hb=5c3a7abf94e8716962952b9bb2300ff007c2aa3f;hp=3d7715e0893a042d0ca193b26214c3407efd73ac;hpb=960327c9fbbb2dc52f8f67a1bf94edc40281c1f0;p=civicrm-core.git diff --git a/settings/Developer.setting.php b/settings/Developer.setting.php index 3d7715e089..df66912bda 100644 --- a/settings/Developer.setting.php +++ b/settings/Developer.setting.php @@ -1,7 +1,7 @@ 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',