In line 191, the class checks if the lifetime is 0 by using ===. On my machine (PHP 5.3.9) , ini_get() actually returns a string and therefore the check fails. A cookie that expires immediately is created.
The proposed change makes the statement work and omits the expire declaration from the generated cookie header.
In line 191, the class checks if the lifetime is 0 by using ===. On my machine (PHP 5.3.9) , ini_get() actually returns a string and therefore the check fails. A cookie that expires immediately is created.
The proposed change makes the statement work and omits the expire declaration from the generated cookie header.