summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/defines.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-11 09:58:06 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-04-11 09:58:06 +0000
commit5cdc91f40d8fdb6e8c4c525a230565bfa87afb86 (patch)
tree88bafeb47426f360e35e54d1b8e844252c898801 /frontends/php/include/defines.inc.php
parentcd58120468d324ee96922fc156f9e6ca651addb1 (diff)
downloadzabbix-5cdc91f40d8fdb6e8c4c525a230565bfa87afb86.tar.gz
zabbix-5cdc91f40d8fdb6e8c4c525a230565bfa87afb86.tar.xz
zabbix-5cdc91f40d8fdb6e8c4c525a230565bfa87afb86.zip
- allowed unicode in frontend for testing purposes (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5610 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/defines.inc.php')
-rw-r--r--frontends/php/include/defines.inc.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/defines.inc.php b/frontends/php/include/defines.inc.php
index 9eeb3d03..53461d93 100644
--- a/frontends/php/include/defines.inc.php
+++ b/frontends/php/include/defines.inc.php
@@ -495,8 +495,8 @@ if((ini_get('mbstring.func_overload') > 5)){
define('ZBX_EXPRESSION_MACRO_ID', 13);
define('ZBX_EXPRESSION_RIGHT_ID', 14);
- define('ZBX_MIN_PERIOD', 3600);
- define('ZBX_MAX_PERIOD', 12*31*24*3600);
+ define('ZBX_MIN_PERIOD', 3600); // ~1 hour
+ define('ZBX_MAX_PERIOD', 12*31*24*3600); // ~1 year
define('ZBX_PERIOD_DEFAULT', ZBX_MIN_PERIOD);
define('ZBX_HISTORY_COUNT',5);
@@ -507,6 +507,10 @@ if((ini_get('mbstring.func_overload') > 5)){
define('ZBX_FAVORITES_ALL', -1);
+// Allow for testing
+ define('ZBX_ALLOW_UNICODE',1);
+
+
/* Define if your logs are in non-standard format */
/* define('ZBX_LOG_ENCODING_DEFAULT', 'Shift_JIS');*/