[kdewebdev-site] Local test bench and defined variables

Paulo Moura Guedes moura at kdewebdev.org
Tue Mar 8 19:06:44 EST 2005


On Tuesday 08 March 2005 19:01, Andras Mantia wrote:
> On Tuesday 08 March 2005 20:49, Eric Laffoon wrote:
> > I was wondering if some people don't have a local test bench when I
> > saw an error on the klinkstatus page, but after looking it may have
> > been introduced after the fact by Andras. So if you don't know how to
> > set up a local test bench then ask. It will enable you to view your
> > changes with changes from others independent of upload.
>
> I don't know why you see an error, because the KlinkStatus's release.php
> should be OK.

I got this error too.

> > Andras, you introduced an application name variable parameter in your
> > function which is something for developers to forget about and cause
> > page errors like I saw locally testing klinkstatus. This is why I put
> > $_appFormal in every applib.php. Whenever you need the formal name of
> > the application use that. If you need the domain/application name use
> > $_application.
>
> But with this change releases.inc.php depends on applib.php (or mostly
> about the $_appFormal variable. So I'd rather use
>      <?
>         include $_libpath."releases.inc.php";
>         showReleases("releases/releases.xml", $_appFormal);
>       ?>
>
> instead of getting rid of the second parameter for showReleases...
>
> Andras
>
> > I fixed all this and uploaded the changes.

-- 
Paulo Moura Guedes

Linux Caixa Mágica  - http://caixamagica.org
KDE Web Development - http://kdewebdev.org


More information about the kdewebdev-site mailing list