aboutsummaryrefslogtreecommitdiff
path: root/app/class/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Config.php')
-rw-r--r--app/class/Config.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/class/Config.php b/app/class/Config.php
index c7d1a78..5c5fe76 100644
--- a/app/class/Config.php
+++ b/app/class/Config.php
@@ -36,6 +36,9 @@ abstract class Config
/** @var string|false $debug */
protected static $debug = false;
+ /** Database config */
+ protected static $markdownhardwrap = true;
+
public const SECRET_KEY_MIN = 16;
public const SECRET_KEY_MAX = 128;
@@ -276,6 +279,11 @@ abstract class Config
return self::$debug;
}
+ public static function markdownhardwrap()
+ {
+ return self::$markdownhardwrap;
+ }
+
// __________________________________________ S E T ______________________________________
@@ -481,6 +489,11 @@ abstract class Config
}
}
+ public static function setmarkdownhardwrap($markdownhardwrap)
+ {
+ self::$markdownhardwrap = boolval($markdownhardwrap);
+ }
+