public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Meta exporter and settings map: read vars.local.inc.php
013b3f88
data/conf/rspamd/dynmaps/vars.inc.php | 3 +++
data/conf/rspamd/meta_exporter/vars.inc.php | 3 +++
2 files changed, 6 insertions(+)
Diff
diff --git a/data/conf/rspamd/dynmaps/vars.inc.php b/data/conf/rspamd/dynmaps/vars.inc.php
index d47e9079..79566b06 100644
--- a/data/conf/rspamd/dynmaps/vars.inc.php
+++ b/data/conf/rspamd/dynmaps/vars.inc.php
@@ -1,3 +1,6 @@
<?php
require_once('../../../web/inc/vars.inc.php');
+if (file_exists('../../../web/inc/vars.local.inc.php')) {
+ include_once('../../../web/inc/vars.local.inc.php');
+}
?>
diff --git a/data/conf/rspamd/meta_exporter/vars.inc.php b/data/conf/rspamd/meta_exporter/vars.inc.php
index d47e9079..79566b06 100644
--- a/data/conf/rspamd/meta_exporter/vars.inc.php
+++ b/data/conf/rspamd/meta_exporter/vars.inc.php
@@ -1,3 +1,6 @@
<?php
require_once('../../../web/inc/vars.inc.php');
+if (file_exists('../../../web/inc/vars.local.inc.php')) {
+ include_once('../../../web/inc/vars.local.inc.php');
+}
?>