Browse Source

added debuglevel syspref, to control error message verbosity after runtime error.

Signed-off-by: Chris Cormack <crc@liblime.com>
3.0.x
Mason James 17 years ago
committed by Chris Cormack
parent
commit
fa0d39a1f9
  1. 10
      updater/updatedatabase

10
updater/updatedatabase

@ -263,6 +263,16 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion) ) {
type => 'Choice',
options => 'Calendar|Days'
},
{
uniquefieldrequired => 'variable',
variable => 'DebugLevel',
value => '0',
forceupdate => { 'explanation' => 1,
'type' => 1},
explanation => 'Set the level of error info sent to the browser. 0=none, 1=some, 2=most',
type => 'Choice',
options => '0|1|2'
},
{
uniquefieldrequired => 'variable',
variable => 'BorrowersTitles',

Loading…
Cancel
Save