Files
Torn-Vault-Tracker/config.php
T
Keith Solomon 2811fc83e5
Deploy website via FTP / Deploy (push) Skipped
Enhance Torn Vault Tracker: Add documentation, improve exception handling, and update styles
- Updated .gitignore to exclude new directories and files.
- Enhanced config.php with detailed PHPDoc comments for better clarity.
- Refactored functions.php to include PHPDoc comments and improve code readability.
- Added custom exceptions in exceptions.php with detailed documentation.
- Improved utilities.php with better documentation and error handling.
- Updated index.php with structured comments and improved readability.
- Refined style.css for better visual consistency.
- Introduced phpcs.xml for coding style checks and standards enforcement.
2026-08-03 12:07:16 -05:00

27 lines
734 B
PHP

<?php
/**
* Configuration file for settings like database and API keys
*
* PHP version 8.1+
*
* @category Configuration
* @package TornVaultTracker
* @author Keith Solomon <ksolomon@gmail.com>
* @license Unlicense https://unlicense.org/
* @link https://github.com/ksolomon/TornVaultTracker
*/
// Database settings
define('DB_DSN', 'sqlite:data/vault.db'); // Path to your SQLite database
define('DB_USER', null); // Not needed for SQLite
define('DB_PASSWORD', null); // Not needed for SQLite
// User-specific keys for accessing logs
const USER_KEYS = [
'zarathos' => 'y2ypLEEIOweEXC7x',
'symos' => 'lne9TZLuqvFXtK3V'
];
// Number of rows per page
define('ROWS_PER_PAGE', 25);