-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.php
83 lines (75 loc) · 4.21 KB
/
config.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
// This file contains the configuration data for the HRScan2 Server application.
// Make sure to fill out the information below 100% accuratly BEFORE you attempt to run
// any HRScan2 Server application scripts. Severe filesystem damage could result.
// BE SURE TO FILL OUT ALL INFORMATION ACCURATELY !!!
// PRESERVE ALL SYNTAX AND FORMATTING !!!
// SERIOUS FILESYSTEM DAMAGE COULD RESULT FROM INCORRECT DATABASE OR DIRECTORY INFO !!!
// / ------------------------------
// / ------------------------------
// / License Information ...
// / To continue, please accept the included GPLv3 license by changing the following
// / variable to '1'. By changing the '$Accept_GPLv3_OpenSource_License' variable to '1'
// / you aknowledge that you have read and agree to the terms of the included LICENSE file.
$Accept_GPLv3_OpenSource_License = '1';
// / ------------------------------
// / ------------------------------
// / Security Information ...
// / HRScan2 Server can run on a local machine or on a network as a server to
// / serve clients over http using standard web browsers.
// / Secret Salts.
// / Change these to something completely random and keep it a secret. Store your $Salts
// / in hardcopy form or an encrypted drive in case of emergency.
// / IF YOU LOSE YOUR SALTS YOU WILL BE UNABLE TO DECODE USER ID'S AFTER AN EMEREGENCY.
$Salts1 = 'somethin5gSoRanDoMThatNobody_Will_evar+guess+itgdgdfgfdsfgdasfdas';
$Salts2 = 'gdfsgdfs3gsdfsomethingSoRanDoMThatNobody_Will_evar+guess+it';
$Salts3 = 'somethi4ngSoRanDoMThatNobodygdfgsdfgfs3243234534_Will_evar+guess+it';
$Salts4 = 'somethingSoR2anDoMThatNobody;lk;jlfrdas5l_Will_evar+guess+iwt';
$Salts5 = 'somethingSoRanDoMThatNobody432423gh_Will_evar+guess+it';
$Salts6 = 'somethingSo1RanDoMThatNobodyawryoglukfgy;/.5^&#&__Will_evar+guedss+it';
// / Externally or internally accesible domain or IP.
$URL = 'https://www.honestrepair.net';
// / Use multi-threaded virus scanning. Virus scanning is extremely resource intensive.
// / If you are running an older machine (Rpi, CoreDuo, or any single-core CPU) leave
// / this setting disabled '0'.
$HighPerformanceAV = '1';
// / Thorough A/V scanning requires stricter permissions, and may require additional
// / ClamAV user, usergroup, and permissions configuration.
// / Disable if you experience errors.
// / Enable if you experience false-negatives.
$ThoroughAV = '1';
// / Persistent A/V scanning will try to achieve the highest level of scanning that is
// / possible with available permissions.
// / When enabled; If errors are encountered ANY AND EVERY attempt to recover from the
// / error will be made. No expense will be spared to complete the operation.
// / When disabled; If errors are encountered, NO ATTEMPTS to recover from the error
// / will be made. The operation will be abandoned and abort after reasonable effort.
$PersistentAV = '1';
// / ------------------------------
// / ------------------------------
// / Directory locations ...
// / Install HRScan2 to the following directory.
// / DO NOT CHANGE THE DEFAULT INSTALL DIRECTORY!!!
$InstLoc = '/var/www/html/HRProprietary/HRScan2';
// / The ServerRootDir should be pointed at the root of your web server directory.
// / (NO SLASH AFTER DIRECTORY!!!) ...
$ServerRootDir = '/var/www/html';
// / The CloudLoc is where temporary data files are stored. (NO SLASH AFTER DIRECTORY!!!) ...
$ScanLoc = '/mnt/123445-1234-4623-1234-1234567623212/ScanDATA';
// / The CloudLoc is where permanent Log files are stored. (NO SLASH AFTER DIRECTORY!!!) ...
$LogDir = '/var/www/html/HRProprietary/HRScan2/Logs';
// / ------------------------------
// / ------------------------------
// / General Information ...
// / Default is '30'.
// / Set to '0' to keep files indefinately.
$Delete_Threshold = '30';
// / Number of bytes to store in each logfile before splitting to a new one.
$MaxLogSize = '1048576';
// / The default font to use throughout HRScan2 GUI elements.
$Font = 'Arial';
// / Terms of Service URL.
$TOSURL = 'https://www.honestrepair.net/index.php/terms-of-service/';
// / Privacy Policy URL.
$PPURL = 'https://www.honestrepair.net/index.php/privacy-policy/';
// / ------------------------------