summaryrefslogtreecommitdiff
path: root/includes/session.php
diff options
context:
space:
mode:
authorŁukasz Wilenski <wooc@gazeta.pl>2010-09-24 14:13:06 +0000
committerŁukasz Wilenski <wooc@gazeta.pl>2010-09-24 14:13:06 +0000
commit72cfd99702a5b88f955af516727889bec12075af (patch)
treee8a396543b4c6e660740119e653787f7530b7513 /includes/session.php
parent683b15c1c0b79dc82fda15faba42338549999a5f (diff)
downloadwebtrees-72cfd99702a5b88f955af516727889bec12075af.tar.gz
webtrees-72cfd99702a5b88f955af516727889bec12075af.tar.bz2
webtrees-72cfd99702a5b88f955af516727889bec12075af.zip
#646614 WT_AUTOCOMPLETE_LIMIT undefined in Sidebar > Families
Diffstat (limited to 'includes/session.php')
-rw-r--r--includes/session.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/session.php b/includes/session.php
index 23fa2d404c..2093516ddd 100644
--- a/includes/session.php
+++ b/includes/session.php
@@ -97,6 +97,9 @@ define('WT_JS_END', "\n//]]>\n</script>\n");
// Used in Google charts
define ('WT_GOOGLE_CHART_ENCODING', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.');
+// Maximum number of results in auto-complete fields
+define('WT_AUTOCOMPLETE_LIMIT', 500);
+
// Privacy constants
define('WT_PRIV_PUBLIC', 2); // Allows non-authenticated public visitors to view the marked information
define('WT_PRIV_USER', 1); // Allows authenticated users to access the marked information