From a04da7df128258ce493ff4e6b8f91bece9d48886 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 19 Jan 2010 12:49:06 +0000 Subject: [PATCH] new option DisplayBinaryAsHex (was used but no default had been defined) --- Documentation.html | 4 ++++ libraries/config.default.php | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/Documentation.html b/Documentation.html index 37692ea34..141d50969 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1516,6 +1516,10 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE (SMART) order - I.E. descending order for fields of type TIME, DATE, DATETIME and TIMESTAMP, ascending order else- by default. +
$cfg['DisplayBinaryAsHex'] boolean
+
Defines whether the "Show binary contents as HEX" browse + option is ticked by default.
+
$cfg['ProtectBinary'] boolean or string
Defines whether BLOB or BINARY fields are protected from editing when browsing a table's content. Valid values are: diff --git a/libraries/config.default.php b/libraries/config.default.php index f6d6f1b9c..3450739ed 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -880,6 +880,13 @@ $cfg['MaxRows'] = 30; */ $cfg['Order'] = 'ASC'; +/** + * default for 'Show binary contents as HEX' + * + * @global string $cfg['DisplayBinaryAsHex'] + */ +$cfg['DisplayBinaryAsHex'] = true; + /******************************************************************************* * In edit mode...