aboutsummaryrefslogtreecommitdiff
path: root/app/class
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-11-15 19:42:10 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-11-15 19:42:10 +0100
commit7741585fd4658428a8bd9e345604ab297fa281dd (patch)
tree927fb050133f5f5a57b7bd80d724fde8394eade9 /app/class
parentdc041bbd71d1b9d6cfe189f2449a9ee0e9063708 (diff)
parent5c0035fe37cdec5f7927c3213365285a7fd4d51b (diff)
downloadwcms-7741585fd4658428a8bd9e345604ab297fa281dd.tar.gz
wcms-7741585fd4658428a8bd9e345604ab297fa281dd.zip
Merge branch 'integrate-sentry-sdk' of https://github.com/n-peugnet/wcms into n-peugnet-integrate-sentry-sdk
Diffstat (limited to 'app/class')
-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 1a4bb17..555129b 100644
--- a/app/class/Config.php
+++ b/app/class/Config.php
@@ -32,6 +32,7 @@ abstract class Config
protected static $homeredirect = null;
protected static $interfacecss = null;
protected static $bookmark = [];
+ protected static $sentrydsn = '';
// _______________________________________ F U N _______________________________________
@@ -248,6 +249,11 @@ abstract class Config
return self::$bookmark;
}
+ public static function sentrydsn()
+ {
+ return self::$sentrydsn;
+ }
+
// __________________________________________ S E T ______________________________________
@@ -426,6 +432,13 @@ abstract class Config
}
}
+ public static function setsentrydsn($sentrydsn)
+ {
+ if (is_string($sentrydsn)) {
+ self::$sentrydsn = $sentrydsn;
+ }
+ }
+