summaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-06-05 21:04:33 +0200
committerGravatar GitHub <noreply@github.com> 2024-06-05 21:04:33 +0200
commitfec9e53d0ebcd74d9fc366da4951f1a1415314c5 (patch)
tree573438908ba76d0f539f531aa7fc5f3ef75fb7b3 /constants.php
parent99b1d551e61adb5cbd014677f151f443b0c6c35f (diff)
Empty title guid or first words (#6240)
* settings * add comments for better understanding * Update reading.phtml * overhaul the code * i18n * typo * add a constant to configure the amount of chars * fix * simplify * Update Entry.php * clean * Update Entry.php * Update app/Models/Entry.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update constants.php * Update app/Models/Entry.php --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/constants.php b/constants.php
index 0bd17377b..59e588311 100644
--- a/constants.php
+++ b/constants.php
@@ -40,6 +40,9 @@ defined('COPY_SYSLOG_TO_STDERR') or define('COPY_SYSLOG_TO_STDERR', filter_var(g
// Maximum log file size in Bytes, before it will be divided by two
defined('MAX_LOG_SIZE') or define('MAX_LOG_SIZE', 1048576);
+// Amount of characters of text shown if feed has no title
+defined('MAX_CHARS_EMPTY_FEED_TITLE') or define('MAX_CHARS_EMPTY_FEED_TITLE', 75);
+
//This directory must be writable
$dataPath = getenv('DATA_PATH');
if (is_string($dataPath) && $dataPath !== '') {