From 9366ba26320a794b8c920ef8367cb685d4a7d490 Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Thu, 26 Jun 2008 09:20:56 +0300 Subject: [PATCH] Point user to doc/README if localconfig is gone. --- inc/config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 1f8ac8c..dc96a7b 100644 --- a/inc/config.php +++ b/inc/config.php @@ -46,4 +46,6 @@ $conf['rss_max_items'] = 30; $conf['rss_item_title'] = '{SHORTLOG} ({AUTHOR})'; $conf['rss_item_description'] = '
{LOG}
{AUTHOR} <{AUTHOR_MAIL}>
{DIFFSTAT}
'; -include_once('localconfig.php'); +if (!@include_once('localconfig.php')) { + die('ViewGit has not been configured yet, please read doc/README.'); +} -- 2.11.4.GIT