summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorwww-data <www-data@dabox.fr>2010-02-18 23:44:44 +0100
committerwww-data <www-data@dabox.fr>2010-02-18 23:44:44 +0100
commit429c74537c02a1f7d4032d6478f184f4ca362d3b (patch)
tree06f1029c518f709531d9748f3c3e30e48804bb7f /includes
parent09330fc053cbd6722a3b353c6cee99d6c7cda903 (diff)
downloadistreamdev-429c74537c02a1f7d4032d6478f184f4ca362d3b.tar.gz
istreamdev-429c74537c02a1f7d4032d6478f184f4ca362d3b.tar.bz2
Personal config is now stored in config.php
If config.php is not created, config_default.php will be used
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/include.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/include.php b/includes/include.php
index 157cccf..830b4b1 100755
--- a/includes/include.php
+++ b/includes/include.php
@@ -1,6 +1,9 @@
<?php
-include ('config.php');
+if (file_exists('config.php'))
+ include ('config.php');
+else
+ include ('config_default.php');
include ('includes/inc_auth.php');
include ('includes/inc_vdr.php');
include ('includes/inc_files.php');