1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-30 17:47:19 +01:00
openstamanager/config.example.php

64 lines
1.8 KiB
PHP
Raw Normal View History

<?php
2020-09-07 15:04:06 +02:00
/*
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
2021-01-20 15:08:51 +01:00
* Copyright (C) DevCode s.r.l.
2020-09-07 15:04:06 +02:00
*
* 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/>.
*/
2017-09-04 11:53:30 +02:00
// Impostazioni di base per l'accesso al database
$db_host = '|host|';
$db_username = '|username|';
$db_password = '|password|';
$db_name = '|database|';
//$port = '|port|';
2017-09-04 11:53:30 +02:00
// Percorso della cartella di backup
$backup_dir = __DIR__.'/backup/';
2017-09-04 11:53:30 +02:00
// Tema selezionato per il front-end
$theme = 'default';
2018-09-21 15:50:42 +02:00
// Impostazioni di sicurezza
$redirectHTTPS = false; // Redirect automatico delle richieste da HTTP a HTTPS
$disableCSRF = true; // Protezione contro CSRF
2017-09-04 11:53:30 +02:00
// Impostazioni di debug
$debug = false;
2017-09-04 11:53:30 +02:00
// Personalizzazione dei gestori dei tag personalizzati
$HTMLWrapper = null;
$HTMLHandlers = [];
$HTMLManagers = [];
2017-09-19 18:14:23 +02:00
// Lingua del progetto (per la traduzione e la conversione numerica)
2019-08-02 13:21:21 +02:00
$lang = '|lang|';
2017-09-19 18:14:23 +02:00
// Personalizzazione della formattazione di timestamp, date e orari
$formatter = [
2019-08-02 13:21:21 +02:00
'timestamp' => '|timestamp|',
'date' => '|date|',
'time' => '|time|',
'number' => [
2019-08-02 13:21:21 +02:00
'decimals' => '|decimals|',
'thousands' => '|thousands|',
],
];
// Ulteriori file CSS e JS da includere
$assets = [
'css' => [],
2018-06-23 15:41:32 +02:00
'print' => [],
'js' => [],
];