Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Oct 4, 2023
1 parent 7698b0f commit 9d2b93e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public static function set(array $config = []): void
$config['memoryLimit'] ??= '256M';
$config['timeoutLimit'] ??= '60';

date_default_timezone_set($config['timezone'] ?? 'America/Montreal');
date_default_timezone_set($config['timezone']);

setlocale(LC_ALL, 'en_CA.' . $config['encoding']);
setlocale(LC_ALL, $config['locale'] . '.' . $config['encoding']);
mb_internal_encoding($config['encoding']);
mb_http_output($config['encoding']);

Expand Down

0 comments on commit 9d2b93e

Please sign in to comment.