if(isset($mosConfig_absolute_path)){
define('IN_PHPBB', true);
define( "_VALID_MOS", 1 );
include_once($mosConfig_absolute_path . "/components/com_forum/config.php");
include_once($mosConfig_absolute_path . "/components/com_forum/extension.inc");
$phpbb_root_path = $mosConfig_absolute_path . '/components/com_forum/';
}
else{
define('IN_PHPBB', true);
include_once("config.php");
include_once("extension.inc");
$phpbb_root_path = './';
}
//error_reporting(E_ALL);
$version = "v1.2.4 RC3";
if(!isset($_GET['page']) || empty($_GET['page']) || $_GET['page'] == "index"){
include($phpbb_root_path . "index.php");
}
else if($_GET['page'] == "faq"){
include($phpbb_root_path . "faq.php");
}
else if($_GET['page'] == "groupcp"){
include($phpbb_root_path . "groupcp.php");
}
else if($_GET['page'] == "login"){
include($phpbb_root_path . "login.php");
}
else if($_GET['page'] == "memberlist"){
include($phpbb_root_path . "memberlist.php");
}
else if($_GET['page'] == "modcp"){
include($phpbb_root_path . "modcp.php");
}
else if($_GET['page'] == "posting"){
include($phpbb_root_path . "posting.php");
}
else if($_GET['page'] == "privmsg"){
include($phpbb_root_path . "privmsg.php");
}
else if($_GET['page'] == "profile"){
include($phpbb_root_path . "profile.php");
}
else if($_GET['page'] == "search"){
include($phpbb_root_path . "search.php");
}
else if($_GET['page'] == "viewforum"){
include($phpbb_root_path . "viewforum.php");
}
else if($_GET['page'] == "viewonline"){
include($phpbb_root_path . "viewonline.php");
}
else if($_GET['page'] == "viewtopic"){
include($phpbb_root_path . "viewtopic.php");
}
else if($_GET['page'] == "download"){
include($phpbb_root_path . "download.php");
}
else if($_GET['page'] == "attach_rules"){
include($phpbb_root_path . "attach_rules.php");
}
else if($_GET['page'] == "uacp"){
include($phpbb_root_path . "uacp.php");
}
else{
include($phpbb_root_path . "index.php");
}
?>
