1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00
php-e107/forum_viewforum.php
2006-12-02 04:36:16 +00:00

12 lines
256 B
PHP

<?php
require_once("class2.php");
$tmp = explode(".", e_QUERY);
$forum_id = intval($tmp[0]);
if($forum_id)
{
header("Location:".SITEURL.$PLUGINS_DIRECTORY."forum/forum_viewforum.php?{$forum_id}");
exit;
}
header("Location:".SITEURL."index.php");
exit;
?>