From dba8fc94ef3916e46356b23b23e02ed3436a0656 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 4 Jul 2016 16:01:21 +0200 Subject: [PATCH] correct twitter:site tag and add empty string for og:local:alternate --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index e00fa83..bb75aac 100644 --- a/index.php +++ b/index.php @@ -30,8 +30,8 @@ use mmk2410\rbe\config\Config as Config; $configParser = new Config('config.yaml', 'vendor/autoload.php'); $config = $configParser->getConfig(); -$lang = $config["language"] . "_" . strtoupper($config["language"]); -$twitter = $config["twitter"]; +$lang = ""; +$twitter = $config["social"]["twitter"]; require './lang/' . $config["language"] . ".php"; // Language file require_once 'res/php/ArticleGenerator.php'; // The article generator