cakePHP設定
ひとまずの動作確認が終わったので、開発の下準備。
Deprecatedを消す
PHP5.3+cakePHP1.25だとDeprecatedが出まくってウザイので、消す。
cake/libs/configure.phpの290行目あたりで、E_ALL & ~E_DEPRECATEDにする。
if (isset($config['debug'])) { if ($_this->debug) { //error_reporting(E_ALL); error_reporting(E_ALL & ~E_DEPRECATED);
参考:
http://www.syuhari.jp/blog/archives/162
http://jp2.php.net/manual/ja/function.error-reporting.php
Security.salt
こっちもwarningっぽいものが出ているので対応。
暗号化に使うらしい。
app/config/core.php
Configure::write('Security.salt', 'ここをデフォルトではないランダムな文字に');
参考:
http://www.garacter.com/notes/CakePHP+Note:初期設定/pi:178