From 307205ceb5d79882b49282bc5af285c301722751 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 10 Dec 2012 17:08:00 +0000 Subject: conf.php: add $theme_name variable --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 965f8b2..314d80b 100644 --- a/index.php +++ b/index.php @@ -68,7 +68,7 @@ publish_stats_headers( (isset($_GET['last']) && $total > 0) ? reset($pkgs) : null ); -require __DIR__ . '/themes/mageia/page_header.php'; +require __DIR__ . "/themes/$theme_name/page_header.php"; if (!isset($_GET['package'])) { $bannerfile = dirname(__FILE__) . '/banner.html'; @@ -256,5 +256,5 @@ else -- cgit v1.2.1