Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は CakePHP v2.3.7 を使用しています。
app/Config/core.php次の問題があります。ファイルに次の行を書きました
app/Config/core.php
'timeout' => 44640, // 31 days.
ここに置くことができないのはなぜですか: '1 month'または'1 year'? 数値のみである必要がありますか?
'1 month'
'1 year'
どんな助けでも感謝します。
それがまさにそのように機能するため、数分で完了します。なぜそれが問題なのですか?
phpstrtotime()関数に対応した文字列を設定できます。
strtotime()
例:'+1 Year'
'+1 Year'