From a4186ab0762833a4c4dd741e6dd112185efc2272 Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Thu, 17 Oct 2019 16:51:42 +0200 Subject: [PATCH] History felület alapok és némi refaktor --- common/base.php | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/common/base.php b/common/base.php new file mode 100644 index 0000000..0071d85 --- /dev/null +++ b/common/base.php @@ -0,0 +1,16 @@ +<?php + +ini_set('display_errors', E_ALL); + +include "vendor/autoload.php"; + +define('IS_DEV', true); + +define('SITE_ROOT', dirname(__DIR__)); +define('OVERLAY_DIR', dirname(SITE_ROOT) . '/overlays/'); + +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 . '/templates/'); \ No newline at end of file -- Gitblit v1.8.0