From f2e0b5357a6f019780773cb87cc5c633b27c88f2 Mon Sep 17 00:00:00 2001
From: Fibinger Ádám <adam.fibinger@wup.hu>
Date: Thu, 10 Sep 2020 20:46:09 +0200
Subject: [PATCH] Alapértelmezetten ne legyen csapat kiválasztva

---
 create.php |   27 +++++----------------------
 1 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/create.php b/create.php
index 297d22a..32f379b 100644
--- a/create.php
+++ b/create.php
@@ -1,25 +1,8 @@
 <?php
-ini_set('display_errors',E_ALL);
+include_once "common/base.php";
 
-include "vendor/autoload.php";
+$html_content = $twig->render('overlays/start-soon.twig');
+file_put_contents('../esl-overlay/overlays/start-soon.html', $html_content);
 
-define('IS_DEV', (!isset($_SERVER['HTTP_HOST'])));
-define('SITE_ROOT', __DIR__);
-
-if (IS_DEV)
-{
-	define('OVERLAY_DIR', dirname(__DIR__) . '/esl-overlay/');
-}
-else
-{
-	define('OVERLAY_DIR', dirname(__DIR__).'/overlays/');
-}
-
-$twig = \EOG\Utils\TwigFactory::getEnvironment(SITE_ROOT);
-$s = new \EOG\Models\Stripe();
-
-$html_content = $twig->render('templates/overlay-base.twig', ['stripe' => $s]);
-
-file_put_contents(OVERLAY_DIR . 'generated.html', $html_content);
-
-echo OVERLAY_DIR . 'generated.html';
+$html_content = $twig->render('overlays/interrogacion.twig');
+file_put_contents('../esl-overlay/overlays/interview.html', $html_content);
\ No newline at end of file

--
Gitblit v1.8.0