FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » RC5: goto links
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: RC5: goto links [message #10831 is a reply to message #10821] Wed, 11 June 2003 03:21 Go to previous messageGo to previous message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma:
Member
It's looking for rview.php from the compiled themes directory, and not finding it, it displays the main index page.

Here's a diff, for root_index.php, that fixes the problem for me. Just flip around those if/else if statements.

97,100c97
< if (!isset($t) || preg_match('/[^A-Za-z0-9_]/', $t) || !@file_exists($WWW_ROOT_DISK . fud_theme . $t . '.php')) {
< $t = 'index';
< }
< else if ($t == 'rview') {
---
> if ($t == 'rview') {
108a106,109
> else if (!isset($t) || preg_match('/[^A-Za-z0-9_]/', $t) || !@file_exists($WWW_ROOT_DISK . fud_theme . $t . '.php')) {
> $t = 'index';
> }
>

[Updated on: Wed, 11 June 2003 03:28]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2.5.0RC3 basic mode RDF not validating as RSS...
Next Topic: What's wrong ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 18:48:21 GMT 2024

Total time taken to generate the page: 0.03827 seconds