FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openstamanager/config.example.php at master · devcode-it/openstamanager · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
devcode-it
/
openstamanager
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
86
Star
148
Code
Issues
180
Pull requests
30
Actions
Projects
Security and quality
18
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openstamanager
/
config.example.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
90 lines (77 loc) · 2.53 KB
Breadcrumbs
openstamanager
/
config.example.php
Copy path
File metadata and controls
executable file
·
90 lines (77 loc) · 2.53 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
84
85
86
87
88
89
90
<?php
/*
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
* Copyright (C) DevCode s.r.l.
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
* 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 <https://www.gnu.org/licenses/>.
*/
// Impostazioni di base per l'accesso al database
$
db_host
=
'
|host|
'
;
$
db_username
=
'
|username|
'
;
$
db_password
=
'
|password|
'
;
$
db_name
=
'
|database|
'
;
// $port = '|port|';
$
db_options
= [
// 'sort_buffer_size' => '2M',
];
// Tema selezionato per il front-end
$
theme
=
'
default
'
;
// Impostazioni di sicurezza
$
redirectHTTPS
=
false
;
// Redirect automatico delle richieste da HTTP a HTTPS
$
disableCSRF
=
true
;
// Protezione contro CSRF
// Impostazioni di debug
$
debug
=
false
;
$
disable_hooks
=
false
;
// Permette di accedere solo con un ip (da utilizzare per manutenzione)
$
maintenance_ip
=
''
;
// Personalizzazione dei gestori dei tag personalizzati
$
HTMLWrapper
=
null
;
$
HTMLHandlers
= [];
$
HTMLManagers
= [];
// Lingua del progetto (per la traduzione e la conversione numerica)
$
lang
=
'
|lang|
'
;
// Personalizzazione della formattazione di timestamp, date e orari
$
formatter
= [
'
timestamp
'
=>
'
|timestamp|
'
,
'
date
'
=>
'
|date|
'
,
'
time
'
=>
'
|time|
'
,
'
number
'
=> [
'
decimals
'
=>
'
|decimals|
'
,
'
thousands
'
=>
'
|thousands|
'
,
],
];
// Ulteriori file CSS e JS da includere
$
assets
= [
'
css
'
=> [],
'
print
'
=> [],
'
js
'
=> [],
];
// Configura il limite di tempo di esecuzione del file cron.php
$
php_time_limit
=
''
;
// Forza l'esecuzione del cron in ambiente localhost
$
forza_cron_localhost
=
false
;
// Integrazione con Laravel per Rate limiting
$
rate_limiting
= [
'
enabled
'
=>
false
,
'
store_path
'
=>
__DIR__
.
'
/files/cache/ratelimiter
'
,
// Limiti distinti per autenticati e non autenticati
'
limits
'
=> [
'
api
'
=> [
'
authenticated
'
=> [
'
max
'
=>
300
,
'
decay
'
=>
60
],
'
unauthenticated
'
=> [
'
max
'
=>
60
,
'
decay
'
=>
300
],
],
],
'
whitelist_ips
'
=> [],
'
blacklist_ips
'
=> [],
];
Back
|
FazBrowse Home
|
New Git URL