<?php ################################################################################## # HOTELDRUID # Copyright (C) 2001-2023 by Marco Maria Francesco De Santis (marco@digitaldruid.net) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version accepted by Marco Maria Francesco De Santis, which # shall act as a proxy as defined in Section 14 of version 3 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 Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. ################################################################################## # costanti per la creazione del database if (function_exists('class_exists') and class_exists('SQLite3')) { define('C_CREADB_TIPODB',"sqlite"); define('C_CREADB_NOMEDB',"hoteldruid"); } # fine if (function_exists('class_exists') and class_exists('SQLite3')) else { # "mysql", "postgresql" o "sqlite" define('C_CREADB_TIPODB',"mysql"); define('C_CREADB_NOMEDB',""); } # fine else if (function_exists('class_exists') and class_exists('SQLite3')) define('C_CREADB_DB_ESISTENTE',"SI"); define('C_CREADB_HOST',"localhost"); define('C_CREADB_PORT',"3306"); define('C_CREADB_USER',""); define('C_CREADB_PASS',""); define('C_CREADB_ESTENSIONE',"NO"); define('C_CREADB_TEMPDB',"template1"); #$prefisso = explode("/",$PHP_SELF); #$prefisso = $prefisso[(count($prefisso)-2)]; define('C_CREADB_PREFISSO_TAB',""); # "NO", "SI" o "AUTO" define('C_UTILIZZA_SEMPRE_DEFAULTS',"NO"); define('C_CREADB_CITTA_DEFAULT',"NO"); ######## # costanti usate per l'hosting # abilitare in includes/funzioni.php ######## define('C_BACKUP_E_MODELLI_CON_NUOVI_DATI',"SI"); define('C_CREA_SUBORDINAZIONI',"SI"); define('C_CREA_NUOVI_APP',"SI"); define('C_URL_NUOVI_APP',""); define('C_CREA_ANNO_MANUALMENTE',"NO"); define('C_CREA_ANNO_NON_ATTUALE',"SI"); define('C_PRIMO_ANNO_CREATO',2001); define('C_CANCELLA_ANNO_ATTUALE',"NO"); define('C_CAMBIA_TIPO_PERIODI',"SI"); define('C_DISABILITA_PASS_ADMIN',"SI"); define('C_MOSTRA_COPYRIGHT',"SI"); # You are not authorized to remove the copyright notice. Ask info@digitaldruid.net # 0 per nessuna limitazione define('C_MASSIMO_NUM_UTENTI',80); define('C_MASSIMO_NUM_CLIENTI',120000); define('C_MASSIMO_NUM_TARIFFE',180); define('C_MASSIMO_NUM_CONTRATTI',90); define('C_MASSIMO_NUM_COSTI_AGG',1500); define('C_MASSIMO_NUM_COSTI_AGG_IN_PRENOTA',250); define('C_MASSIMO_NUM_STORIA_SOLDI',140000); define('C_MASSIMO_NUM_COSTI',90000); define('C_MASSIMO_NUM_APP',0); define('C_MASSIMO_NUM_BYTE_UPLOAD',12582912); define('C_MASSIMO_NUM_EMAIL_GIORNALIERE',200); # NUM + (10%NUM * NUM_APP) define('C_CREA_ULTIMO_ACCESSO',"SI"); #if (!defined('C_CARTELLA_CREA_MODELLI')) define('C_CARTELLA_CREA_MODELLI',""); #if (!defined('C_URL_CREA_MODELLI')) define('C_URL_CREA_MODELLI',""); #if (!defined('C_PERCORSO_PHPMAILER')) define('C_PERCORSO_PHPMAILER',""); define('C_DOMINIO_CREA_MODELLI',""); define('C_CHMOD_EXEC_MODELLI',"NO"); define('C_CARTELLA_DOC',""); define('C_CARTELLA_FILES_REALI',""); define('C_CARTELLA_UPLOAD_IMG',""); define('C_UTENTE_AZIONE_IC',""); define('C_UTENTE_BACKUP_ESTERNO',""); define('C_FILE_SCADENZA_ACCOUNT',""); define('C_HTML_PRE_LOGIN',""); define('C_HTML_POST_LOGIN',""); define('C_URL_LOGO',""); define('C_URL_FAVICON',""); define('C_SEC_LIMITE_LIBERA_APP',""); define('C_LIMITE_BACKUP_GIORNALIERI',0); define('C_LIMITE_CHIAMATE_API_AL_MINUTO',0); # can be "SI", "NO" or "spf: ..." with spf fields (separated by spaces) that must exists in the domain of the masquerading email #if (!defined('C_MASCHERA_EMAIL')) define('C_MASCHERA_EMAIL',"spf: a:mail.digitaldruid.net +ip4:88.80.188.111"); define('C_LIB_MERCADOPAGO',""); define('C_URL_MODULO_PAYBOX',"http://"); define('C_NASCONDI_MARCA',""); define('C_OPZIONI_NASCONDI_MARCA',"n"); # 1: s-n open ext module for credit cards in new window yes-no define('C_DISABILITA_COD_EMAIL_MODELLI',"NO"); define('C_PASSWORD_BOOKINGCOM_IC',""); define('C_PASSWORD_EXPEDIA_IC',""); define('C_API_KEY_BBLIVERATE_IC',""); define('C_URL_MOD_EXT_CARTE_CREDITO',""); define('C_IP_MOD_EXT_CARTE_CREDITO',""); define('C_URL_PULL_TOKEN',""); define('C_GIORNI_SCADENZA_PASS_CC',"90"); define('C_NUM_ULTIME_PASS_CC_PROIBITE',"4"); define('C_UTENTE_CANC_CC',""); define('C_FILE_TITOLO_PERS',""); define('C_FILE_CSS_PERS',""); define('C_FILE_MOB_CSS_PERS',""); define('C_FILE_DOMINIO',""); # secure domains file will be searched as C_FILE_DOMINIO.'_https' define('C_DOMINIO_ADMIN_DIR',""); # Restrizioni per la demo amministratore define('C_RESTRIZIONI_DEMO_ADMIN',"NO"); define('C_EMAIL_DEMO_ADMIN',""); define('C_PASS_DEMO_ADMIN',""); ?> |