summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini2
-rw-r--r--conf/locale/locale_en-US.ini1
2 files changed, 3 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 755041cfe2..968c276813 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -31,6 +31,8 @@ FEED_MAX_COMMIT_NUM = 5
; An invalid color like "none" or "disable" will have the default style
; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
THEME_COLOR_META_TAG = `#ff5343`
+; Max size of files to be displayed (defaults is 8MiB)
+MAX_DISPLAY_FILE_SIZE = 8388608
[ui.admin]
; Number of users that are showed in one page
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini
index 0339387a45..6f63412f92 100644
--- a/conf/locale/locale_en-US.ini
+++ b/conf/locale/locale_en-US.ini
@@ -409,6 +409,7 @@ file_raw = Raw
file_history = History
file_view_raw = View Raw
file_permalink = Permalink
+file_too_large = This file is too large to be shown
commits.commits = Commits
commits.search = Search commits