mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Removed Sentry completely
This commit is contained in:
parent
0b0747b8dc
commit
2af8626514
4 changed files with 16 additions and 17 deletions
|
|
@ -272,8 +272,6 @@ Disabling this option is not recommended.'),
|
|||
'time_offset' => array('0'),
|
||||
'session_filter' => array(''),
|
||||
|
||||
'sentry_dsn' => array(''),
|
||||
|
||||
'filename' => array('log-{date:Y-m-d}.txt',
|
||||
'Log filename.
|
||||
For security reasons, some characters are removed from filename.
|
||||
|
|
|
|||
|
|
@ -246,13 +246,8 @@ class Service
|
|||
$sAppleTouchLink = $sFaviconUrl ? '' : $this->staticPath('apple-touch-icon.png');
|
||||
|
||||
$sContentSecurityPolicy = $this->oActions->Config()->Get('security', 'content_security_policy', '');
|
||||
$sSentryDsn = false; // $this->oActions->Config()->Get('logs', 'sentry_dsn', '');
|
||||
|
||||
$aTemplateParameters = array(
|
||||
'{{BaseAppHeadScriptLink}}' => $sSentryDsn ?
|
||||
'<script type="text/javascript" data-cfasync="false" src="https://browser.sentry-cdn.com/5.4.3/bundle.min.js" crossorigin="anonymous"></script>' : '',
|
||||
'{{BaseAppBodyScript}}' => $sSentryDsn ?
|
||||
'<script type="text/javascript" data-cfasync="false">window && window.Sentry && window.Sentry.init({dsn:\''.$sSentryDsn.'\',ignoreErrors:[\'Document not active\']});</script>' : '',
|
||||
'{{BaseAppFaviconPngLinkTag}}' => $sFaviconPngLink ? '<link type="image/png" rel="shortcut icon" href="'.$sFaviconPngLink.'" />' : '',
|
||||
'{{BaseAppFaviconTouchLinkTag}}' => $sAppleTouchLink ? '<link type="image/png" rel="apple-touch-icon" href="'.$sAppleTouchLink.'" />' : '',
|
||||
'{{BaseAppMainCssLink}}' => $this->staticPath('css/app'.($bAppCssDebug ? '' : '.min').'.css'),
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
<meta name="AppBootData" content='{{RainloopBootData}}' id="app-boot-data" />
|
||||
{{BaseContentSecurityPolicy}}
|
||||
<title></title>
|
||||
{{BaseAppHeadScriptLink}}
|
||||
{{BaseAppFaviconPngLinkTag}}
|
||||
{{BaseAppFaviconTouchLinkTag}}
|
||||
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}" />
|
||||
|
|
@ -24,7 +23,6 @@
|
|||
<body class="thm-body">
|
||||
<div id="rl-app"></div>
|
||||
<div id="rl-check"></div>
|
||||
{{BaseAppBodyScript}}
|
||||
<script type="text/javascript" data-cfasync="false" src="{{BaseAppBootScriptLink}}"></script>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue