mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-10 15:54:01 +02:00
Merge pull request #735 from jagroop/gh-pages
fixed missing square bracket in array
This commit is contained in:
@@ -257,7 +257,7 @@ call. More on domain configuration in the next example.
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function valid($locale) {
|
function valid($locale) {
|
||||||
return in_array($locale, ['en_US', 'en', 'pt_BR', 'pt', 'es_ES', 'es');
|
return in_array($locale, ['en_US', 'en', 'pt_BR', 'pt', 'es_ES', 'es']);
|
||||||
}
|
}
|
||||||
|
|
||||||
//setting the source/default locale, for informational purposes
|
//setting the source/default locale, for informational purposes
|
||||||
|
Reference in New Issue
Block a user