Enhance README and refactor code structure for improved functionality
🚀 Deploy website via FTP / 🎉 Deploy (push) Failing after 8s
🚀 Deploy website via FTP / 🎉 Deploy (push) Failing after 8s
- Updated README.md with detailed project description, features, and installation instructions. - Refactored functions.php to include configuration settings and improved database handling. - Modified index.php for better user experience and added pagination controls. - Introduced new utility functions for API handling and database interactions. - Added CSS styles for improved layout and visibility of elements. - Removed vault.csv as data is now managed through the database. - Implemented FTP deployment workflow for automated deployment. - Added exception handling classes for better error management. - Created JavaScript functions for pagination of transaction records.
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// Configuration file for settings like database and API keys
|
||||
|
||||
// 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);
|
||||
Reference in New Issue
Block a user