bug: CLocale in yiilite.php causes CException

Sorry, I havn’t Google account, then I describe bug here…

framework version: 1.1.9

affected OS: all

In production mode (using yiilite.php) I’ve found, that using of CLocale causes CException: ‘Unrecognized locale “<locale>”.’

It raises in line 5703 of yiilite.php

It happens, because CLocale constructor calculate path to locale data using FILE constant, but for CLocale.php and yiilite.php paths are different, and <locale>.php cannot be found.

Fix: delete CLocale class from yiilite.php

http://code.google.com/p/yii/issues/detail?id=3062