| 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/facapi44/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;
// ini_set('display_errors', 1);
// ini_set('display_startup_errors', 1);
// error_reporting(E_ALL);
#####################################################################################
#
# Database
#
#####################################################################################
# Database name
$config['db']['name'] = "factapi44";
# Database password
$config['db']['pwd'] = 'factapiuser36913';
# Database user name
$config['db']['user'] = "factapiuser";
# Database host
$config['db']['host'] = "localhost";
##############################################################################
#
# Crypto Keys
#
##############################################################################
$config['crypto']['key'] = "JJ6zIoZ6HfyxtR4dXwW8FWevsWTYLfhO0ByeoqP5AQ4=";
##############################################################################
#
# print alerts
# false or true
#
##############################################################################
$config['boot']['alert'] = "true";
##############################################################################
##
## 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'] = 'API Service';
# The host name for your site
$config['core']['host'] = $_SERVER['SERVER_NAME'];
$config['core']['compannyIMG'] = "https://".$_SERVER['SERVER_NAME']."/Facturador/assets/images/logo.png";
# 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/';