diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-20 14:16:44 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-20 14:16:44 -0200 |
commit | 43635311c43229b70818ad78b9b1786640e4f440 (patch) | |
tree | d33910f4a1a7ffa3b69379a0d2dea46de0718b61 | |
parent | ab784072ea5da6e88890f005cc3bcfb43f5f496d (diff) | |
download | original-43635311c43229b70818ad78b9b1786640e4f440.tar.gz original-43635311c43229b70818ad78b9b1786640e4f440.tar.bz2 |
Requiring user to customize config.inc.php
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | www/index.php | 3 |
2 files changed, 3 insertions, 5 deletions
@@ -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"); |