summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scire/.lib/common.php')
-rw-r--r--scire/.lib/common.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scire/.lib/common.php b/scire/.lib/common.php
index 4d82b03..032597f 100644
--- a/scire/.lib/common.php
+++ b/scire/.lib/common.php
@@ -1,5 +1,7 @@
<?php
+$CONFIG_DIR='/etc/scire';
+
# Validate the path if it exists.
if (isset($path)) {
if ($path != "../") {
@@ -14,7 +16,8 @@ if (isset($path)) {
}
# Configuration
-require_once('config.php');
+
+require_once($CONFIG_DIR.'/config.php');
# Functions
require_once('functions.php');