Pagination fix

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-04-23 15:26:35 +02:00
parent 297cf418c0
commit 319d3d6138

View file

@ -12,12 +12,11 @@
*/ */
require_once "BlogListGenerator.php"; require_once "BlogListGenerator.php";
require '../res/php/Config.php'; require_once './res/php/Config.php';
use mmk2410\rbe\config\Config as Config;
$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"; require_once "lang/" . $config["language"] . ".php";