blob: 5b4d728140afc044202ae0b55d18d0cfae381fad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* display_structure_inc
*
* @author spider <spider@steelsun.com>
* @version $Revision: 1.5 $
* @package liberty
* @subpackage functions
*/
/**
* required setup
*/
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->setHttpStatus( 404 );
$gBitSystem->fatalError( tra( 'Page cannot be found' ));
}
?>
|