| | |
| | | <?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); |
| | | $html_content = $twig->render('overlays/interrogacion.twig'); |
| | | file_put_contents('../esl-overlay/overlays/interview.html', $html_content); |