1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-06 23:39:11 +01:00
php-e107/forum_viewtopic.php

13 lines
260 B
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?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;
?>