From a2b518b1b356264b7db7dacea25121b105c13107 Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 19 Jan 2010 22:58:19 +0000 Subject: special header file for standalone scripts git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@618 b3834d28-1941-0410-a4f8-b48e95affb8f --- src/SemanticScuttle/header-standalone.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/SemanticScuttle/header-standalone.php (limited to 'src/SemanticScuttle/header-standalone.php') diff --git a/src/SemanticScuttle/header-standalone.php b/src/SemanticScuttle/header-standalone.php new file mode 100644 index 0000000..cc1b0bd --- /dev/null +++ b/src/SemanticScuttle/header-standalone.php @@ -0,0 +1,20 @@ + + * @license GPL http://www.gnu.org/licenses/gpl.html + * @link http://sourceforge.net/projects/semanticscuttle + */ +$_SERVER['HTTP_HOST'] = 'http://localhost/'; +define('UNIT_TEST_MODE', true); + +require_once dirname(__FILE__) . '/header.php'; +?> \ No newline at end of file -- cgit v1.2.3