1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/forum_viewtopic.php
2006-12-02 04:36:16 +00:00

13 lines
260 B
PHP

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