aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/header-standalone.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/SemanticScuttle/header-standalone.php')
-rw-r--r--src/SemanticScuttle/header-standalone.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/SemanticScuttle/header-standalone.php b/src/SemanticScuttle/header-standalone.php
new file mode 100644
index 0000000..3755ea1
--- /dev/null
+++ b/src/SemanticScuttle/header-standalone.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Load this file instead of header.php if you
+ * are using it in a standalone non-webserver script.
+ *
+ * SemanticScuttle - your social bookmark manager.
+ *
+ * PHP version 5.
+ *
+ * @category Bookmarking
+ * @package SemanticScuttle
+ * @author Christian Weiske <cweiske@cweiske.de>
+ * @license GPL http://www.gnu.org/licenses/gpl.html
+ * @link http://sourceforge.net/projects/semanticscuttle
+ */
+$_SERVER['HTTP_HOST'] = 'http://localhost/';
+
+require_once dirname(__FILE__) . '/header.php';
+?> \ No newline at end of file