projects
/
koha_gimpoz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd75d1
)
added debuglevel syspref, to control error message verbosity after runtime error.
author
Mason James
<mtj@arwen.metavore.com>
Thu, 27 Sep 2007 23:50:35 +0000
(18:50 -0500)
committer
Chris Cormack
<crc@liblime.com>
Fri, 28 Sep 2007 01:25:10 +0000
(20:25 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
updater/updatedatabase
patch
|
blob
|
history
diff --git
a/updater/updatedatabase
b/updater/updatedatabase
index
98ccdee
..
eab08cf
100755
(executable)
--- a/
updater/updatedatabase
+++ b/
updater/updatedatabase
@@
-265,6
+265,16
@@
if (C4::Context->preference("Version") < TransformToNum($DBversion) ) {
},
{
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',
value => 'Mr|Mrs|Miss|Ms',
forceupdate => { 'explanation' => 1,