aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-20 14:16:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-20 14:16:44 -0200
commit43635311c43229b70818ad78b9b1786640e4f440 (patch)
treed33910f4a1a7ffa3b69379a0d2dea46de0718b61
parentab784072ea5da6e88890f005cc3bcfb43f5f496d (diff)
downloadoriginal-43635311c43229b70818ad78b9b1786640e4f440.tar.gz
original-43635311c43229b70818ad78b9b1786640e4f440.tar.bz2
Requiring user to customize config.inc.php
-rw-r--r--README5
-rw-r--r--www/index.php3
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");