From ffa7c6f5c007dfc826aef0ca27d23bb69bbeed7e Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Thu, 04 Jun 2020 23:10:08 +0200 Subject: [PATCH] BO pöttyök + BestOf kupa típus --- form.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/form.php b/form.php index cd3d468..9d990f5 100644 --- a/form.php +++ b/form.php @@ -26,6 +26,11 @@ $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s, 'autorefresh' => 30]); file_put_contents(OVERLAY_DIR . 'team-ban-refresh.html', $html_content); + $redis = new Redis(); + $redis->pconnect('127.0.0.1'); + $redis->publish('overlay', 'update'); + $redis->close(); + } else { if (file_exists(STRIPE_JSON)) { $raw_json = file_get_contents(STRIPE_JSON); -- Gitblit v1.8.0