| Server IP : 172.173.179.141 / Your IP : 216.73.216.196 Web Server : Apache System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/facapi/API_Hacienda/www/ |
Upload File : |
<?php
/*
* Copyright (C) 2017-2020 CRLibre <https://crlibre.org>
*
* 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
* (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 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/>.
*/
# Declare it as global, but never use it as global
global $config;
#####################################################################################
#
# Database
#
#####################################################################################
# Database name
$config['db']['name'] = "{dbName}";
# Database password
$config['db']['pwd'] = '{dbPss}';
# Database user name
$config['db']['user'] = "{dbUser}";
# Database host
$config['db']['host'] = "{dbHost}";
##############################################################################
#
# Crypto Keys
#
##############################################################################
$config['crypto']['key'] = "{cryptoKey}";
##############################################################################
#
# print alerts
# false or true
#
##############################################################################
$config['boot']['alert'] = "false";
##############################################################################
##
## Log errors
## false or true
##
###############################################################################
$config['debug']['print_all'] = true;
$config['debug']['print_absurd'] = true;
$config['debug']['print_debug'] = true;
$config['debug']['print_error'] = true;
##############################################################################
#
# Emails
#
##############################################################################
# Options: "mail" or "smtp".
$config['mail']['type'] = "mail";
# Used in "mail" or "smtp"
$config['mail']['address'] = ""; // for example: info@crlibre.org
$config['mail']['noreply'] = ""; // Optional - for example: no-reply@crlibre.org
# If "smtp" option is actived.
$config['mail']['host'] = "";
$config['mail']['username'] = "";
$config['mail']['password'] = "";
$config['mail']['secure'] = "tls"; // Use tls or ssl
$config['mail']['port'] = 587;
##############################################################################
#
# Core and Modules
#
##############################################################################
# Paths USE TRAILING SLASHES!!!
# By default I will assume that core modules and contrib are located in the
# same directory as the Api, but they can be placed anywhere else
# The core installation: This is probably the only one you need to touch
# IMPORTANTE: La ruta debe finalizar en "/".
$config['modules']['coreInstall'] = "../api/";
# Name of your site, Not in use really
$config['core']['siteName'] = 'MySite';
# The host name for your site
$config['core']['host'] = "mySite.com";
$config['core']['compannyIMG'] = "https://scontent.fsyq2-1.fna.fbcdn.net/v/t1.0-9/33379063_741113822944661_9042709073681711104_n.png?_nc_cat=0&oh=9ac1b60c1f7ab20eb174b29d85a50470&oe=5C0C2666";
# Time in seconds for the lifetime of a session, after this time, the user must
# log back in, if you dont want to use the session life set the value in -1, li this
# $config['users']['sessionLifetime'] = -1;
$config['users']['sessionLifetime'] = -1;
/*******************************************************************************
* You should not need to touch anything beyond this point
*/
# List of core modules
$config['modules']['core'] = array('cala','db', 'users', 'files', 'geoloc', 'wirez', 'crypto');
# List of core modules to load always, you can overide this list
$config['modules']['coreLoad'] = array('cala', 'db', 'users', 'crypto');
# Core modules location
$config['modules']['corePath'] = $config['modules']['coreInstall'] . "modules/";
# Contributed modules
$config['modules']['contribPath'] = $config['modules']['coreInstall'] . "contrib/";
# Resources such as 404 not found images and such
$config['core']['resourcesPath'] = $config['modules']['coreInstall'] . 'resources/';
# Location to upload files, USE TRAILING SLASH!!
# Each user will have its own directory within this path
$config['files']['basePath'] = $config['modules']['coreInstall'] . 'files/';