mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
new module creation
This commit is contained in:
12
forum_viewtopic.php
Normal file
12
forum_viewtopic.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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;
|
||||
?>
|
Reference in New Issue
Block a user