Re: [rt.blitzed.org #77] /java/chat.phtml default channel

"[email protected] 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 >

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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.