Commits ------- 9714cfc Fixes fatal error when intl module is not installed. Discussion ---------- Session instantiation breaks with Fatal error if intl module is not installed. A check for class_exists in setPhpDefaultLocale() fixes this, though I got the feeling it should be resolved with a proxy or subscriber object; setPhpDefaultLocale feels like a hack now. --------------------------------------------------------------------------- by stealth35 at 2011/07/10 06:32:43 -0700 Locale::setDefault don't throw any exception Maybe just : ```php if (class_exists('Locale', false)) { return \Locale::setDefault($this->locale); } else { return false; } ```
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|