aboutsummaryrefslogtreecommitdiff
path: root/header.inc.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-20 17:04:31 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-20 17:04:31 +0000
commit2b98bf899610a9f2b3bb16c1e8a511517df322fd (patch)
tree34d6bea429a6519660d60b5995c7daecb3d0a348 /header.inc.php
parenta09da50d10f42bdaa9c41b86ad5efe47969251c4 (diff)
downloadsemanticscuttle-2b98bf899610a9f2b3bb16c1e8a511517df322fd.tar.gz
semanticscuttle-2b98bf899610a9f2b3bb16c1e8a511517df322fd.tar.bz2
Put all configuration options into config.default.inc.php. Use phpdoc docblocks for config option descriptions. Put only very necessary options in config.inc.php.dist to now overwhelm new users.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@359 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'header.inc.php')
-rw-r--r--header.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/header.inc.php b/header.inc.php
index 5051002..024cb06 100644
--- a/header.inc.php
+++ b/header.inc.php
@@ -1,9 +1,10 @@
<?php
if(!file_exists(dirname(__FILE__) .'/config.inc.php')) {
- die("Please, create the 'config.inc.php' file. You can copy the 'config.inc.php.example' file.");
+ die('Please copy "config.inc.php.dist" to "config.inc.php"');
}
// 1 // First requirements part (before debug management)
+require_once(dirname(__FILE__) .'/config.default.inc.php');
require_once(dirname(__FILE__) .'/config.inc.php');
require_once(dirname(__FILE__) .'/constants.inc.php'); // some constants are based on variables from config file