Letractively / webloginpe

Automatically exported from code.google.com/p/webloginpe
0 stars 0 forks source link

Use setlocale in __construct of webloginpe.class.php #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
    function __construct($LanguageArray, $dateFormat = '%A %B %d, %Y at %I:%M
%p', $UserImageSettings = '105000,100,100', $type = 'simple')
    {
        require_once 'manager/includes/controls/class.phpmailer.php';
        $this->LanguageArray = $LanguageArray;
        $this->DateFormat = $dateFormat;
        $this->UserImageSettings = $UserImageSettings;
        $this->Type = $type;
        setlocale ( LC_TIME, $this->LanguageArray[43] );
    }

i.e. de.php

    $wlpe_lang[43] = 'de_DE.UTF-8';

Original issue reported on code.google.com by th.jakobi on 6 Dec 2008 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by th.jakobi on 20 Dec 2008 at 9:25