[rt.blitzed.org #77] /java/chat.phtml default channel
"Andy Smith via RT" <[email protected]>
| Newsgroups | gmane.network.irc.blitzed.web |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.blitzed.org:80/Ticket/Display.html?id=77 > > [[email protected] - Sat Sep 27 17:39:36 2003]: > > On Sat, 2003-09-27 at 18:30, Andy Smith via RT wrote: > > Unfortunately I can't seem to see where in the code the #blitzed > > comes from. > > Easy. > chat.phtml line: 148. It's not #blitzed but "blitzed" in the code. Aha! Thanks. I have changed this now. > > Also it would be nice if the URL could change (with backwards > > compatability) because I keep having to explain that > > /java/chat.phtml isn't a java applet. :) > > You could do a PHP redirector like: > $allArgs=''; > foreach($_GET as $key=>$value) > $allArgs.=(''===$allArgs)?$key.'='.$value:'&'.$key.'='.$value; > > header('Location: /chat/index.phtml?'.$allArgs); > > Untested but should work. Erk, I think I will put this in another ticket and leave it for someone more familiar with it.