From d06f0ef30f9b192900a5f07dc9c60afb29c3f0e7 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 26 Jun 2007 18:23:54 +0000 Subject: [PATCH] add default theme, so it works with blanked settings git-svn-id: file:///home/shish/svn/shimmie2/trunk@166 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/home/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/home/main.php b/contrib/home/main.php index 98e1fc69..60137fea 100644 --- a/contrib/home/main.php +++ b/contrib/home/main.php @@ -49,7 +49,7 @@ class Home extends Extension { $data_href = $config->get_string('data_href'); $sitename = $config->get_string('title'); $contact_link = $config->get_string('contact_link'); - $counter_dir = $config->get_string('home_counter'); + $counter_dir = $config->get_string('home_counter', 'default'); $total = ceil($database->db->GetOne("SELECT COUNT(*) FROM images"));