From 319d3d6138f4ffe7f319dd7b70439a8927317d38 Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Sat, 23 Apr 2016 15:26:35 +0200 Subject: [PATCH] Pagination fix --- res/php/Pagination.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/res/php/Pagination.php b/res/php/Pagination.php index df396af..1555fee 100644 --- a/res/php/Pagination.php +++ b/res/php/Pagination.php @@ -12,12 +12,11 @@ */ require_once "BlogListGenerator.php"; -require '../res/php/Config.php'; -use mmk2410\rbe\config\Config as Config; +require_once './res/php/Config.php'; -$configParser = new Config('../config.yaml', '../vendor/autoload.php'); +$configParser = new mmk2410\rbe\config\Config('./config.yaml', './vendor/autoload.php'); -$config = $configParser->getConfig(); +$conf = $configParser->getConfig(); require_once "lang/" . $config["language"] . ".php";