On 3 jun, 17:07, mbavio <[EMAIL PROTECTED]> wrote:
> Add this line to your app_controller:
>
> $os = env('OS');
> if (!empty ($os) && strpos($os, 'Windows') !== false) {
> setlocale(LC_ALL, 'Spanish (Argentina)');} else {
>
> setlocale(LC_ALL, 'es_AR');
>
> }
>
> in case that you are in Argentina, of course. If you are not, well, I
> think you will be able to change that :)
>
Works, thanks, but what about the $os check? is it really necessary? I
don't have a Linux machine to test, much less a Mac, but would it work
on those systems?
--
Saludos
Adriano
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---