[kdewebdev-site] Local test bench and defined variables

Andras Mantia amantia at kdewebdev.org
Tue Mar 8 21:01:03 EST 2005


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.

> 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.

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://momo.creolmail.org/pipermail/kdewebdev-site/attachments/20050308/1fdcf0bb/attachment.pgp


More information about the kdewebdev-site mailing list