Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/includes/index.php
<?php
	define('IN_PowerBB',true);
	$page = empty($_GET['page']) ? 'index' : $_GET['page'];
	$page = str_replace( 'member_list', 'memberlist', $page );
	$page = str_replace( 'index', 'main', $page );
	$page = str_replace( 'special_subject', 'special_topics', $page );
	$module = ('modules/'.$page.'.module.php');
	if(substr_count($module, "\0")
	or substr_count($module, "../")
	or substr_count($module, "..\\")
	or !file_exists($module))
	{
		@header("Location: index.php");
		exit;
	}
	require_once($module);
	//////////
	$class_name = CLASS_NAME;
	$class_name = new $class_name;
	$class_name->run();
?>
Return current item: PBBoard