diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-02-02 19:25:35 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-02-02 19:25:35 +0000 |
commit | 6f7316e4216a19c5b8957a0f397d3aff1919f1f7 (patch) | |
tree | ecbb6a396f4196f1a5e8b44e9bc666094ed45f7b /src/SemanticScuttle/header.php | |
parent | a4e1a291ed02c5641937fd912b50b91f8048ab52 (diff) | |
download | semanticscuttle-6f7316e4216a19c5b8957a0f397d3aff1919f1f7.tar.gz semanticscuttle-6f7316e4216a19c5b8957a0f397d3aff1919f1f7.tar.bz2 |
make serviceoverrides user-configurable
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@626 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/header.php')
-rw-r--r-- | src/SemanticScuttle/header.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php index 4a0a919..4ad869d 100644 --- a/src/SemanticScuttle/header.php +++ b/src/SemanticScuttle/header.php @@ -57,6 +57,10 @@ require_once 'SemanticScuttle/DbService.php'; require_once 'SemanticScuttle/Service/Factory.php'; require_once 'SemanticScuttle/functions.php'; +if (count($GLOBALS['serviceoverrides']) > 0) { + SemanticScuttle_Service_Factory::$serviceoverrides + = $GLOBALS['serviceoverrides']; +} // 3 // Third requirements part which import functions from includes/ directory |