dockerization complete
This commit is contained in:
parent
a710ce6718
commit
7e4f540499
5
main.php
5
main.php
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
require_once('config.php');
|
||||
require_once('/data/config.php');
|
||||
require_once('shared.php');
|
||||
|
||||
// === BEGIN ===
|
||||
|
@ -346,7 +346,8 @@ DEBUG and botlog('handle callback query');
|
|||
$text = htmlspecialchars($msg->message->text);
|
||||
|
||||
|
||||
$dateObj = DateTime::createFromFormat('Y-n-j-G', $currentTab['year'] . '-' . $currentTab['month'] . '-' . $currentTab['day'] . '-' . $callback_data);
|
||||
$dateObj = DateTime::createFromFormat('Y-n-j-G-e', $currentTab['year'] . '-' . $currentTab['month'] . '-' . $currentTab['day'] . '-' . $callback_data . '-Europe/Rome');
|
||||
$dateObj->setTimezone(new DateTimeZone('UTC'));
|
||||
$formattedDate = $dateObj->format('Y-m-d H:i:s');
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This script must be called from the system every hour (i.e. cron)
|
||||
*/
|
||||
|
||||
require_once('config.php');
|
||||
require_once('/data/config.php');
|
||||
require_once('shared.php');
|
||||
|
||||
if (DEBUG) botlog("\n\n\n".'[II] Scheduler starting at ' . date('Y-m-d H:i:s') . ' ====================' . "\n\n");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
require_once('config.php');
|
||||
require_once('/data/config.php');
|
||||
|
||||
// Base logging function. All logging functions use this.
|
||||
// Change this to output everything on stdout, on file, on socket, on whathever you want...
|
||||
|
|
Loading…
Reference in New Issue