From 43635311c43229b70818ad78b9b1786640e4f440 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 20 Feb 2010 14:16:44 -0200 Subject: Requiring user to customize config.inc.php --- README | 5 ++--- www/index.php | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README b/README index da33a2b..b7aa260 100644 --- a/README +++ b/README @@ -30,9 +30,8 @@ the execute bit set. Installation ============ -Although Original will probably run fine out of the box, you DO want to copy -inc/config.dist.inc.php to inc/config.dist.php and customize it according to -your needs. +Copy inc/config.dist.inc.php to inc/config.dist.php and customize it according +to your needs. Various Notes ============= diff --git a/www/index.php b/www/index.php index 581f56d..f99ab0d 100644 --- a/www/index.php +++ b/www/index.php @@ -8,8 +8,7 @@ require_once ("lib/lib.l10n.php"); if (file_exists("inc/config.inc.php")) { require_once("inc/config.inc.php"); } else { - # Load fallback configuration - require_once("inc/config.dist.inc.php"); + die('Please copy inc/config.dist.inc.php to inc/config.inc.php and edit according to your needs.'); } require_once("inc/www.class.inc.php"); -- cgit v1.2.3