aboutsummaryrefslogtreecommitdiff
path: root/lib/httracker/functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/httracker/functions')
-rw-r--r--lib/httracker/functions7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/httracker/functions b/lib/httracker/functions
index 72e762e..2a63ffa 100644
--- a/lib/httracker/functions
+++ b/lib/httracker/functions
@@ -139,7 +139,12 @@ function httracker_setup_folders {
# Set basic environment
function httracker_initialize {
BASE="`dirname $0`"
- source $BASE/config || exit 1
+ source $BASE/config.default || exit 1
+
+ # Load custom config
+ if [ -e "$BASE/config" ]; then
+ source $BASE/config || exit 1
+ fi
# Create folders
httracker_setup_folders