money_format doesn't exist on windows and substitute

money_format is not available on windows systems so if os system is windows we use a replacement.
grr ! indentation again. Sorry but i'm still learning.


2014-06-19 2:50 GMT+02:00 Luis Cordova <notifications@github.com>:

> In Twig/StoreTwigExtension.php:
>
> >          }
> >
> > -        return $left . money_format('%i', $amount) . $right;
> > +        if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
> > +            setlocale(LC_ALL, '');
>
> this seems more reasonable, [image: :+1:] i mean the indented code
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vespolina/VespolinaStoreBundle/pull/63/files#r13948962>
> .
>



-- 
Cordialement,

Fabrice Kuissu