Re: [rt.blitzed.org #77] /java/chat.phtml default channel
| Newsgroups | gmane.network.irc.blitzed.web |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.blitzed.org:80/Ticket/Display.html?id=77 >
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.
> 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.
bye
--
[ The darkness is within me. ]
It's getting darker... darker than expected.
Beware from the unexpected... and obey your master!