jmathai / epiphany

A micro PHP framework that's fast, easy, clean and RESTful. The framework does not do a lot of magic under the hood. It is, by design, very simple and very powerful.
https://github.com/jmathai/epiphany
Other
687 stars 139 forks source link

Memcached Expiry #58

Open cr1st1an opened 11 years ago

cr1st1an commented 11 years ago

Screen Shot 2013-02-20 at 9 22 40 PM

On the creation of the Memcached object with parameters, the expiry value is compared against empty() before returning a default value. '0' means undefined (no expiration) but will behave with an 1 hour expiration time.

jmathai commented 11 years ago

@cr1st1an That's a valid bug report. We might be better off using == ''.

Did you want to submit a pull request?

cr1st1an commented 11 years ago

Never collaborated on public repos before, sent a push but don't know if that works, or if that's OK