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 --- scripts/create-testbookmarks.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/create-testbookmarks.php') diff --git a/scripts/create-testbookmarks.php b/scripts/create-testbookmarks.php index d92a007..cbacb85 100644 --- a/scripts/create-testbookmarks.php +++ b/scripts/create-testbookmarks.php @@ -2,10 +2,7 @@ /** * Simply create some test bookmarks */ -$_SERVER['HTTP_HOST'] = 'http://localhost/'; -define('UNIT_TEST_MODE', true); - -require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php'; +require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php'; $us = SemanticScuttle_Service_Factory::get('User'); $uid = $us->addUser('dummy', 'dummy', 'dummy@example.org'); -- cgit v1.2.3