k4200’s notes and thoughts

Programmer side of k4200

Zend_Locale in compatibility

Zend_Locale 使ったら以下のようなエラーが出た。

[Wed Apr 11 18:03:11 2012] [error] [client 192.168.56.1] PHP Notice:  You are running Zend_Locale in compatibility mode... please migrate your scripts in /path/to/zf/Zend/Locale.php on line 294

こちらのページにあるように、以下のようにすればOK。

Zend_Locale::$compatibilityMode = false;

Zend Framework 1.11.10