Improved booking handling with unfulfilled booking checks and Slack notifications. Enhanced customer data retrieval with caching optimizations and discount calculations. Added logging, debug capabilities, and expanded Redis functionalities for better data management.
19 lines
298 B
PHP
19 lines
298 B
PHP
<?php
|
|
/**
|
|
* This script is used to sync the logs to the database.
|
|
* It is run as a cron job.
|
|
*
|
|
* index.php run SyncLogs
|
|
*/
|
|
|
|
// prevent direct access
|
|
|
|
use objects\logs_o;
|
|
|
|
if (!defined('WD')) {
|
|
exit;
|
|
}
|
|
|
|
// Sync the logs to the database
|
|
$logs_o = new logs_o();
|
|
$logs_o->syncLogsToDatabase(); |