Reputation: 189
I am using cakePHP v2.3.7,
I have the following issue, I have written in my app/Config/core.php
file the line
'timeout' => 44640, // 31 days.
Why is it not possible to put here let's say: '1 month'
or '1 year'
?
Does it need to be a numeric value only?
Any help appreciated.
Upvotes: 0
Views: 74
Reputation: 293
You can set an string compatible with php strtotime()
function.
Example: '+1 Year'
Upvotes: 0
Reputation: 2252
Because that is just how it works, it's in minutes. Why is it an issue?
Upvotes: 3