-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized the language array to make it more readable. Refactored the language detection code to set the default language if one is not already set in the settings.php file. Also added logic so that the app can detect the user's browser preferences and display the site accordingly. Created a method that returns a language drop down list. This is better than having multiple static lists in various places. Made the includes for the various language files more solid. It checks to see if the file exists before trying to include it. This should intercept any errors with the include.
- Loading branch information
1 parent
58a9279
commit 7945f51
Showing
1 changed file
with
107 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters