After completing the installation and database import, several environment-specific values must be updated in the source files before the application is ready to use. CashMan H.A. does not use a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/DanielRivera03/SistemaBancario/llms.txt
Use this file to discover all available pages before exploring further.
.env file — configuration is distributed across a small number of PHP controller files and one CSS file. This page documents every setting, where to find it, and what value to assign for your environment.
Configuration Reference
| Setting | File(s) | Variable / Key | Default | Description |
|---|---|---|---|---|
| Global URL | controlador/cIniciosSesionesUsuarios.php, controlador/cGestionesCashman.php | $UrlGlobal | http://localhost:90/CashManHA/ | Base URL used for all session redirect targets and links embedded in automated emails |
| SMTP Host | controlador/cIniciosSesionesUsuarios.php, controlador/cGestionesCashman.php | PHPMailer Host | Papercut (localhost) | SMTP server hostname or IP for outbound email |
| SMTP Port | Same files | PHPMailer Port | 2525 | SMTP port — use 587 for production TLS |
| SMTP Username | Same files | PHPMailer Username | "" (empty) | SMTP authentication username |
| SMTP Password | Same files | PHPMailer Password | "" (empty) | SMTP authentication password |
| DB Host | modelo/conexion.php | MySQLi $servidor | localhost | MySQL server host |
| DB Name | modelo/conexion.php | MySQLi $base | cashmanha | Database schema name |
| Timezone | controlador/cGestionesCashman.php | date_default_timezone_set() | America/El_Salvador | PHP runtime timezone for all date/time calculations |
| CSS Base URL | vista/css/style.css | Hardcoded @import url(...) | http://localhost:90 | Base URL used in CSS @import rules for icon font stylesheets |
Global URL ($UrlGlobal)
Both main controller files construct the application base URL at the top of the file. The hostname is read dynamically from $_SERVER['SERVER_NAME'], but the port and path are hardcoded:
:90 to reflect the port your web server actually listens on. If running on standard HTTP port 80, omit the port segment entirely:
PHPMailer (SMTP Email)
CashMan H.A. uses PHPMailer to send three categories of transactional email: password-recovery security codes, credential-update confirmation notices, and money-transfer security codes. The same SMTP block appears in both controller files.cIniciosSesionesUsuarios.php (password recovery request and password-change confirmation) and one in cGestionesCashman.php (money-transfer security code) — with your SMTP provider’s details.
Database Credentials
All database connectivity is managed inmodelo/conexion.php. The file instantiates the conexion class eight times to create parallel MySQLi connections — one primary ($conectarsistema) and seven auxiliary ($conectarsistema1 through $conectarsistema7) — used across pages with multiple concurrent queries.
cashmanha, update $base here and re-verify every stored procedure call — the application assumes the default schema name in the connection layer only, not in individual queries.
Timezone
The PHP runtime timezone is set once, at the top ofcontrolador/cGestionesCashman.php:
CashMan H.A. defaults to
America/El_Salvador (UTC−6). All date/time values stored and displayed by the application — loan payment due dates, transaction timestamps, scheduled event execution times — are calculated relative to this timezone. If your server is hosted in a different region, update this value to the appropriate PHP timezone identifier (e.g., America/New_York, Europe/Madrid, Asia/Manila) to ensure all timestamps are correct.CSS Base URL
Several icon font libraries are loaded via absolute@import url(...) rules near the top of vista/css/style.css (lines 62–73). These imports hardcode the default local address:
http://localhost:90 with your server’s base address. Failure to update these imports will result in missing icons throughout the application UI, because the browser will request the stylesheets from a non-existent host.
Configuration Checklist
Use this checklist before testing your deployment:Pre-launch configuration checklist
Pre-launch configuration checklist
-
$UrlGlobalupdated incontrolador/cIniciosSesionesUsuarios.php -
$UrlGlobalupdated incontrolador/cGestionesCashman.php - PHPMailer
Host,Port,Username,Passwordset incIniciosSesionesUsuarios.php(both instances) - PHPMailer
Host,Port,Username,Passwordset incGestionesCashman.php -
$servidor,$usuario,$clave,$baseset correctly inmodelo/conexion.php -
date_default_timezone_set()updated to your region incontrolador/cGestionesCashman.php - All
@import url(...)references invista/css/style.cssupdated to your server address - Database fully imported and object counts verified (21 tables, 148 stored procedures, 67 views, 21 triggers, 5 events)