[horde] LATT_REFERRAL in PHP 4.3.6

Daniel Eckl daniel.eckl at gmx.de
Wed Apr 28 02:13:01 PDT 2004


Because LATT_REFERRAL is predefined in PHP 4.3.6, but not before, horde
has this if clause:

if (!defined('LATT_HASCHILDREN')) {
    define('LATT_REFERRAL', 16);
    define('LATT_HASCHILDREN', 32);
    define('LATT_HASNOCHILDREN', 64);
}

But the problem is, that in fact PHP 4.3.6 has LATT_REFERRAL defined,
but not LATT_HASCHILDREN. So with this clause,
!defined('LATT_HASCHILDREN') returns true, then it redefines
LATT_REFERRAL and because this is predefined, I get a warning.

Perhaps there has to be an own clause for LATT_REFERRAL?

Greets,
Daniel



More information about the horde mailing list