summaryrefslogtreecommitdiff
path: root/display_structure_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'display_structure_inc.php')
-rw-r--r--display_structure_inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/display_structure_inc.php b/display_structure_inc.php
new file mode 100644
index 0000000..cc48f3e
--- /dev/null
+++ b/display_structure_inc.php
@@ -0,0 +1,10 @@
+<?php
+ global $gContent;
+ include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
+ if( is_object( $gContent ) && $gContent->isValid() ) {
+ $gBitSystem->setBrowserTitle( $gStructure->getRootTitle().' : '.$gContent->getTitle() );
+ include $gContent->getRenderFile();
+ } else {
+ $gBitSystem->fatalError( 'Page cannot be found' );
+ }
+?>