From 3ac2acb75dbc5b9d8674cd733f96e95f15826961 Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Wed, 26 Feb 2020 09:49:56 +0100 Subject: [PATCH] Némi refaktor és új overlay --- common/base.php | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/base.php b/common/base.php index 1038268..0071d85 100644 --- a/common/base.php +++ b/common/base.php @@ -9,6 +9,8 @@ define('SITE_ROOT', dirname(__DIR__)); define('OVERLAY_DIR', dirname(SITE_ROOT) . '/overlays/'); -$last_json = OVERLAY_DIR . 'last.json'; +define('STRIPE_JSON', OVERLAY_DIR . 'last.json'); +define('TEAMS_JSON', OVERLAY_DIR . 'teams.json'); +define('HISTORY_JSON', OVERLAY_DIR . 'history.json'); -$twig = \EOG\Utils\TwigFactory::getEnvironment(SITE_ROOT); \ No newline at end of file +$twig = \EOG\Utils\TwigFactory::getEnvironment(SITE_ROOT . '/templates/'); \ No newline at end of file -- Gitblit v1.8.0