added debuglevel syspref, to control error message verbosity after runtime error.
Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
6bd75d133f
commit
fa0d39a1f9
|
|
@ -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…
Reference in New Issue