[pkg-php-pear] Bug#856391: phpab: uses absolute pathnames in output

Thorsten Glaser tg at mirbsd.de
Wed Oct 25 21:07:04 UTC 2017


David Prévot dixit:

>>                 'backendimap' => '/backend/imap/imap.php',
>>
>> These are not relative
>
>Actually, they are (or you may have missed the following part of code

They should skip the leading slash, for easier relocatability.

>further down).
>
>        if (isset($classes[$cn])) {
>            require __DIR__ . $classes[$cn];

Trivial to concatenate a slash into the middle of that.

>        }

bye,
//mirabilos
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999



More information about the pkg-php-pear mailing list