-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.php
More file actions
64 lines (60 loc) · 3.26 KB
/
configuration.php
File metadata and controls
64 lines (60 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
+-------------------------------------------------------------------------+
| RubioDMARC - An OpenDMARC Webapp |
| Version 1.0.0 |
| |
| This program is free software: you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation. |
| |
| This file forms part of the RubioDMARC software. |
| |
| If you wish to use this file in another project or create a modified |
| version that will not be part of the RubioDMARC Software, you |
| may remove the exception above and use this source code under the |
| original version of the license. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program. If not, see http://www.gnu.org/licenses/. |
| |
+-------------------------------------------------------------------------+
| Author: Jaime Rubio <jaime@rubiogafsi.com> |
+-------------------------------------------------------------------------+
*/
namespace RubioDMARC\Framework;
defined('_ODEXEC') or die;
class ODConfig
{
public $sitename = 'Website title';
public $live_site = 'https://yourwebsite.com';
public $log_path = '/to/your/path/log';
public $tmp_path = '/to/your/path/tmp';
public $debug = false;
public $use_sef = true;
public $use_autolog = false;
public $password = '{MD5 hash of the plain admin password}';
public $key = '{SHA256 secret key for security purposes}';
public $list_limit = 10;
public $database = [
'type' => 'mysqli',
'host' => 'localhost',
'port' => '3306',
'user' => '{database user}',
'password' => '{database password}',
'database' => '{database name}',
];
public $menu = ['home', 'messages', 'hosts'];
public $theme = 'default';
public $top_domains = 5;
public $links = [
'DMARC Checker' => 'https://easydmarc.com/tools/dmarc-lookup',
'SPF Checker' => 'https://easydmarc.com/tools/spf-lookup',
'DKIM Validator' => 'https://dkimvalidator.com/',
];
}