Skip to content

Commit ba9f6f1

Browse files
committed
refactor(config): setlocale comes with php since version 4
1 parent 4218ad8 commit ba9f6f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/config/config_sample.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
mb_internal_encoding('UTF-8');
1414

1515
// Set the default locale
16-
if (function_exists('setlocale') === true) {
17-
setlocale(LC_ALL, 'en_US.UTF-8');
18-
}
16+
setlocale(LC_ALL, 'en_US.UTF-8');
1917

2018
/*
2119
* Set some flight variables

0 commit comments

Comments
 (0)