Location: PHPKode > projects > tgsf > tgsf-0.9.2/application/controllers/static_page.php
<?php defined( 'BASEPATH' ) or die( 'Restricted' );

// this will go away soon - ignore this file.

$pageFile = config( 'page_path' ) . $page . EXT;

if ( file_exists( $pageFile ) )
{
    ob_start();
    include $pageFile;

	if ( isset( $noTypography ) && $noTypography == true )
	{
		$out = ob_get_contents();
	}
	else
	{
		$out = ob_get_contents();
		//$out = auto_typography( trim( ob_get_contents() ) );
	}

    ob_end_clean();
    echo $out;

    $content = ob_get_contents();
    ob_end_clean();
    include view( 'header' );
	echo $content;
    include view( 'footer' );
}
else
{
	echo '404 - ' . $pageFile;
}
Return current item: tgsf