summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-21 16:22:48 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-21 16:22:48 +0000
commit7d183a779b42072de4a913029a7daad9f5b30034 (patch)
tree2a21a8105228e1268ab33b0abe061b52b9475f7a /index.php
downloadpigeonholes-7d183a779b42072de4a913029a7daad9f5b30034.tar.gz
pigeonholes-7d183a779b42072de4a913029a7daad9f5b30034.tar.bz2
pigeonholes-7d183a779b42072de4a913029a7daad9f5b30034.zip
import pigeonholes - take 2
Diffstat (limited to 'index.php')
-rw-r--r--index.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..ebdf752
--- /dev/null
+++ b/index.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * $Header: /cvsroot/bitweaver/_bit_pigeonholes/index.php,v 1.1 2005/08/21 16:22:44 squareing Exp $
+ *
+ * Copyright ( c ) 2004 bitweaver.org
+ * Copyright ( c ) 2003 tikwiki.org
+ * Copyright ( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
+ * All Rights Reserved. See copyright.txt for details and a complete list of authors.
+ * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
+ *
+ * $Id: index.php,v 1.1 2005/08/21 16:22:44 squareing Exp $
+ * @package pigeonholes
+ * @subpackage functions
+ */
+
+/**
+ * required setup
+ */
+require_once( '../bit_setup_inc.php' );
+include_once( PIGEONHOLES_PKG_PATH.'lookup_pigeonholes_inc.php' );
+if( !empty( $gPigeonholes->mStructureId ) ) {
+ header( 'Location: '.PIGEONHOLES_PKG_URL.'view.php?structure_id='.$gPigeonholes->mStructureId );
+} else {
+ header( 'Location: '.PIGEONHOLES_PKG_URL.'list.php' );
+}