First commit for rspamd settings
This commit is contained in:
@@ -206,7 +206,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
|
||||
<div class="panel-body">
|
||||
<?php
|
||||
$dnstxt_folder = scandir($GLOBALS["MC_DKIM_TXTS"]);
|
||||
$dnstxt_files = array_diff($dnstxt_folder, array('.', '..'));
|
||||
$dnstxt_files = array_diff($dnstxt_folder, array('.', '..', '.dkim_pub_keys'));
|
||||
foreach($dnstxt_files as $file) {
|
||||
$str = file_get_contents($GLOBALS["MC_DKIM_TXTS"]."/".$file);
|
||||
$str = preg_replace('/\r|\t|\n/', '', $str);
|
||||
|
@@ -277,8 +277,8 @@ if (isset($_SESSION['mailcow_cc_role']) && ($_SESSION['mailcow_cc_role'] == "adm
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
$dnstxt_folder = scandir($GLOBALS["MC_DKIM_TXTS"]);
|
||||
$dnstxt_files = array_diff($dnstxt_folder, array('.', '..'));
|
||||
$dnstxt_folder = scandir($GLOBALS["MC_DKIM_TXTS"]);
|
||||
$dnstxt_files = array_diff($dnstxt_folder, array('.', '..', '.dkim_pub_keys'));
|
||||
foreach($dnstxt_files as $file) {
|
||||
if (explode("_", $file)[1] == $domain) {
|
||||
$str = file_get_contents($GLOBALS["MC_DKIM_TXTS"]."/".$file);
|
||||
|
@@ -112,6 +112,13 @@ table[data-sortable].sortable-theme-bootstrap.sortable-theme-bootstrap-striped t
|
||||
.sort-table:hover {
|
||||
border-bottom-color: #00B7DC !important;
|
||||
}
|
||||
.striped:nth-child(odd) {
|
||||
background-color: #fff;
|
||||
}
|
||||
.striped:nth-child(even) {
|
||||
background-color: #fafafa;
|
||||
border:1px solid white;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
if (preg_match("/mailbox.php/i", $_SERVER['REQUEST_URI'])):
|
||||
|
2656
data/web/inc/otepad.php
Normal file
2656
data/web/inc/otepad.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user