mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
13 lines
260 B
PHP
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;
|
|
?>
|