The app looks nice. I can't use it, however, because it doesn't take into
account the fact that it may be running on a port other than 80. It uses
$_SERVER['SERVER_NAME'] but never adds $_SERVER['SERVER_PORT']. Oh well, I
will see if I can't patch it to work when I get some time.
[»]
Re: Nice looking project.
by FNORD - Feb 22nd 2005 09:19:22
> The app looks nice. I can't use it,
> however, because it doesn't take into
> account the fact that it may be running
> on a port other than 80. It uses
> $_SERVER['SERVER_NAME'] but never adds
> $_SERVER['SERVER_PORT']. Oh well, I
> will see if I can't patch it to work
> when I get some time.
>
For anyone using a non-standard port (any port other than 80) and want's
to try this out a simple (although not necessarily correct) solution is to
add a line to config.php like this:
$_SERVER['SERVER_NAME'] = 'your.server.name:portnum';
[reply]
[top]
[»]
Re: Nice looking project.
by conner_bw - Feb 22nd 2005 21:21:58
> It uses
> $_SERVER['SERVER_NAME'] but never adds
> $_SERVER['SERVER_PORT']. Oh well, I
> will see if I can't patch it to work
> when I get some time.
I fixed this in the CVS and added a $PORT variable in the
config.template.php. No official release yet because i'm
waiting for a few more translations and skins (adding more
functionality in the next increment) which will be in the next
few weeks. But if you want to run it on non standard ports
"Check Out" the CVS on Sourceforge, it's been fixed
alongside a few other bugs.
- fixed: show error when checkdate() fails for purge_news
- fixed: better handling of "empty" errors
- added: support for non-standard web server ports
- removed: wysiwyg_browser(), not used.
Thanks.
[reply]
[top]