From cffd2c46efe5875ad1eb86a566a9b41bdb461861 Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Thu, 09 Jan 2020 16:31:43 +0100 Subject: [PATCH] Kali, Wamai és egyéb módosítások --- create.php | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/create.php b/create.php index 58664dd..32f379b 100644 --- a/create.php +++ b/create.php @@ -1,14 +1,8 @@ <?php -include "vendor/autoload.php"; +include_once "common/base.php"; -define('IS_DEV', true); -define('SITE_ROOT', __DIR__); -define('OVERLAY_DIR', dirname(__DIR__) . '/esl-overlay/'); +$html_content = $twig->render('overlays/start-soon.twig'); +file_put_contents('../esl-overlay/overlays/start-soon.html', $html_content); -$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); \ No newline at end of file +$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