forked from stg-tud/MUBench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.default.php
56 lines (48 loc) · 1.87 KB
/
settings.default.php
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
<?php
return [
'settings' => [
// Database Connection
'db' => [
'driver' => 'sqlite',
'host' => 'localhost',
'database' => __DIR__ . '/test.sqlite',
'username' => 'admin',
'password' => 'admin',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '', // table-name prefix
],
// Relative path to the review site, e.g., if your site is reachable at
// http://domain.tld/p/ this would be "/p/". Always add a trailing /.
'site_base_url' => '/',
// Relative path to the directory that files should be stored in upon
// reception from the MUBench Pipeline. Needs to be writable.
'upload' => "./upload",
// The default number of findings to display in Experiment P (Precision).
'default_ex2_review_size' => '20',
// The number of reviews required per misuse/finding.
'number_of_required_reviews' => 2,
// Configuration to put the site in blind-review mode. When enabled,
// reviewer names are replaced by 'reviewer-1', 'reviewer-2', etc. in
// both the website itself and the URLs.
// Detector names are replaced according to the mapping specified
// below.
'blind_mode' => [
'enabled' => false,
'detector_blind_names' => []
],
// Slim 3
'displayErrorDetails' => false, // set to false in production
'addContentLengthHeader' => false, // Allow the web server to send the content-length header
// Logging
'logger' => [
'name' => 'mubench',
'path' => __DIR__ . '/logs/app.log',
'level' => \Monolog\Logger::DEBUG,
]
],
// Reviewer login credentials
'users' => [
"admin" => "pass"
]
];