Daniel Eckl
2004-04-28 07:23:49 UTC
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
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