Index: root_index.php.t =================================================================== RCS file: /cvsroot/egroupware/fudforum/setup/base/src/root_index.php.t,v retrieving revision 1.4 diff -u -3 -p -r1.4 root_index.php.t --- root_index.php.t 29 Oct 2003 01:49:38 -0000 1.4 +++ root_index.php.t 2 Jun 2004 16:21:37 -0000 @@ -26,16 +26,7 @@ } else { $t = 'index'; } - - if ($t == 'rview') { - if (isset($_GET['th']) || isset($_GET['goto'])) { - $t = $_GET['t'] = d_thread_view; - } else if (isset($_GET['frm_id'])) { - $t = $_GET['t'] = t_thread_view; - } else { - $t = $_GET['t'] = 'index'; - } - } else if (preg_match('/[^A-Za-z0-9_]/', $t)) { + if (preg_match('/[^A-Za-z0-9_]/', $t)) { $t = 'index'; } @@ -48,6 +39,16 @@ /*{PRE_HTML_PHP}*/ /*{POST_HTML_PHP}*/ + if ($t == 'rview') { + if (isset($_GET['th']) || isset($_GET['goto'])) { + $t = $_GET['t'] = d_thread_view; + } else if (isset($_GET['frm_id'])) { + $t = $_GET['t'] = t_thread_view; + } else { + $t = $_GET['t'] = 'index'; + } + } + fud_use('err.inc'); define('__index_page_start__', true);